similar to: howto convert matrix of numeric values to Date class?

Displaying 20 results from an estimated 4000 matches similar to: "howto convert matrix of numeric values to Date class?"

2008 Jul 23
3
how can I write code to detect whether the machine is Windows or Linux?
Hi R-People: I use 2 machines: a machine with a Windows XP operating system, and another with a Linux Ubuntu OS. I transport my code between these 2 machines. However, pathnames to data files always need to be "adjusted" to account for the OS that I'm working on. Here is my question: How do I write code to detect whether I'm using the XP or the Linux machine? If I knew
2007 Sep 06
1
computing distance in miles or km between 2 street addresses
Hi R-ers: I need to compute the distance between 2 street addresses in either km or miles. I do not care if the distance is a "shortest driving route" or if it is "as the crow flies." Does anybody know how to do this? Can it be done in R? I have thousands of addresses, so I think that Mapquest is out of the question! Please rely to: philipsmith at alumni.albany.edu Thank
2007 Sep 07
0
computing distance in miles or km between 2 street
Phil, If you have only a list of addresses and nothing else - i have to recognize i am "lost". But if you have more info you can use a GIS software and it will calculate your distance automatically for all your addresses. To have your distance in miles or Km you need to have a projection in your data which will establish your units. The very basic principle is that for each address
2009 Nov 02
3
question about difference in date objects
Hi R Community: I want to take the difference in two dates: dt2 - dt1. But, I want the answer in months between those 2 dates. Can you advise me? Please respond to: pzs6 at cdc.gov Thank you! Phil Smith Centers for Disease Control and Prevention
2005 Jul 28
1
using pam_winbind to authenticate against AD/krb
hey all, after following the directions in the "FreeBSD Active Directory Domain Member Mini-HOWTO" http://web.irtnog.org/howtos/freebsd/winbind i am able to get my machine to the point where i can query users with 'wbinfo': $ wbinfo -u|grep galbrecht galbrecht i am unable, however, to login to my machine using any service, telnet for example: $ telnet -K localhost
2008 Nov 23
2
Need help: Loading a large data set.
Hi All, I am dealing with a large data set which translates in to a sparse matrix, I want to load this data that is spread in approximately 17000+ files each defining a row and each file has variable number of records that come with its column number and the value that they store. I wish to load this data in memory from these files one by one. Is there anyway I can do this in R, before I start
2005 Feb 22
1
fake_perms and read-only profiles
I tried using the fake_perms module to set up some read-only profiles and couldn't get it to work. Could someone please point out what I'm doing wrong? I created a copy of my regular [profiles] share with the fake_perms module loaded: [staticprofiles] path = /staticprofiles invalid users = root browseable = yes csc policy = disable veto oplock files = /prf*.tmp/
2003 Sep 16
2
can predict ignore rows with insufficient info
I need predict to ignore rows that contain levels not in the model. Consider a data frame, "const", that has columns for the number of days required to construct a site and the city and state the site was constructed in. g<-lm(days~city,data=const) Some of the sites in const have not yet been completed, and therefore they have days==NA. I want to predict how many days these sites
2013 Apr 26
2
Can a column of a list be called?
Hello Everyone, I would like to know if I can call one of the columns of a list, to use it as a variable in a function. Thanks in advance for any advice! Jana -- Jana Makedonska, B.Sc. Biology, Universite Paul Sabatier Toulouse III M.Sc. Paleontology, Paleobiology and Phylogeny, Universite de Montpellier II Ph.D. candidate in Physical Anthropology and Part-time lecturer Department of
2013 Apr 08
3
extensions.conf / test DID
I am trying to make sure my DID and SIP account details are working properly and engaging the extensions.conf and dial plan. I have a successful SIP session registered: Connected to Asterisk 11.3.0 currently running on Asterisk (pid = 922) Asterisk*CLI> sip show registry Host dnsmgr Username Refresh State Reg.Time sip3.voipvoip.com:5060
2011 Dec 15
1
Inquiry about matrix pooling
Dear R-users, I am a relatively new R user and I have a simple question. Is there a command attached to a R function, which performs matrix pooling? Thanks in advance, Jana -- -- "The world is full of mysteries. Life is one. The curious limitations of finite minds are another."(J.B.S. Haldane, The Causes of Evolution) Jana Makedonska, M.Sc. Ph.D. candidate/ Part-time lecturer
2013 Apr 26
2
Help with dataEllipse function
Hi Everyone, I am working with the R function "dataEllipse". I plot the 95% confidence ellipses for several different samples in the same plot and I color-code the ellipse of each sample, but I do not know how to specify a different line pattern for each ellipse. I can only modify the pattern for all ellipses with the "lty" argument. Any help will be highly appreciated.
2018 Jan 28
0
Plotting quarterly time series
On Sun, 28 Jan 2018, phil at philipsmith.ca wrote: > I have a data set with quarterly time series for several variables. The > time index is recorded in column 1 of the dataframe as a character > vector "Q1 1961", "Q2 1961","Q3 1961", "Q4 1961", "Q1 1962", etc. I want > to produce line plots with ggplot2, but it seems I need to
2011 Oct 28
2
NT4 SP3 PDC with MS Exchange 5.5 to Samba 3.x ldapbacked PDC and MS Exchange 5.5 still
Looking to make some changes to an old but working LAN, that has about 10 samba servers serving printers and network shares and a NT 4 PDC server with Exchange 5.5 on it. The samba servers are members of the nt4 domain, XP systems are members of the nt 4 domain also. Samba servers are ldapbacked. We use the ldap component directly to login to the Linux servers. I'd like to be able to
2018 Jan 28
1
Plotting quarterly time series
Using Achim's d this also works to generate z where FUN is a function used to transform the index column and format is also passed to FUN. z <- read.zoo(d, index = "time", FUN = as.yearqtr, format = "Q%q %Y") On Sun, Jan 28, 2018 at 4:53 PM, Achim Zeileis <Achim.Zeileis at uibk.ac.at> wrote: > On Sun, 28 Jan 2018, phil at philipsmith.ca wrote: > >> I
2010 Apr 01
3
Using a string as a variable name - revisited
I would like to revisit a problem that was discussed previously (see quoted discussion below). I am trying to do the same thing, using a string to indicate a column with the same name. I am making "foo" a string taken from a list of names. It matches the row where "item" = 5, and picks the corresponding "taxon" > foo <- list$taxon[match(5,list$item)] Let's
2010 Mar 24
1
vcov.nlminb
Hello all, I am trying to get the variance-covariance (VCOV) matrix of the parameter estimates produced from the nlminb minimizing function, using vcov.nlminb, but it seems to have been expunged from the MASS library. The hessian from nlminb is also producing NaNs, although the estimates seems to be right, so I can't VCOV that way either. I also tried using the vcov function after minimizing
2006 Apr 27
1
Filename too long
This is the rsync version I am using. rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, IPv6, 64-bit system inums, 64-bit internal inums I have a file with a looooong name which I rsync from PC1 to PC2. (redhat-9) I am getting the
2004 Feb 12
2
lattice: showing panels for factor levels with no values
How to show panels for factor levels of conditioning variables which do have no values? E.g. there are panels for "Grand Rapids" when they have values: data( barley ) with( barley, dotplot(variety ~ yield | year * site, layout=c(6,2) ) ) There are no panels for "Grand Rapids" when there are no values for "Grand Rapids": my.barley <- subset( barley, ! ( site ==
2008 Jul 02
1
how do I read only specific columns using read.csv or other read function
Hi R people: I have huge files with as many as 5000 columns. I'd really like to read only certain columns of those files. I know column names I want to read. I looked at the documentation of read.csv . Although there is a col.names option, it allows users to specify the names of the columns, rather than to pick the columns of interest. Any suggestions on how to pick the columns I want to