Guallar sgual...@yahoo.com
Cc: r-help@r-project.org r-help@r-project.org
Sent: Sunday, May 6, 2012 2:18 AM
Subject: Re: [R] creating a new column assigning values of other columns
Ba -- far too much work to recreate (and I don't think you sent us
the file act.lig): here's a much better route
- as.POSIXct( niga$nit, tz=GMT, format=%Y-%m-%d %H:%M:%S,
origin=2007-06-19 )
From: R. Michael Weylandt michael.weyla...@gmail.com
To: Santiago Guallar sgual...@yahoo.com
Cc: r-help@r-project.org r-help@r-project.org
Sent: Sunday, May 6, 2012 2:18 AM
Subject: Re: [R] creating a new column
: Sunday, May 6, 2012 3:13 PM
Subject: Re: [R] creating a new column assigning values of other columns
It looks like part of your problem is that some of your time/date
variables are stored as factors rather than actual times / dates. Use
str() to see which ones and try to convert those. You'll need
Ba -- far too much work to recreate (and I don't think you sent us
the file act.lig): here's a much better route:
Go to the step immediately before you're in trouble and use dput() on
your data. R will print out a nice plaintext representation that we
can copy and paste and reproduce
4 matches
Mail list logo