Feel free to post again if you need help. If you are comfortable with
slightly-heavy-lifting in programming, but are finding the R way of
getting things done a little counterintuitive, you can do much worse
than reading Patrick Burns' two books: S Poetry and the R Inferno,
available here:
Hello All,
I've been reading books about R for awhile now and am in the process of
replicating the SAS analyses from an old report. I want to be sure that I can
do all the things I need to in R before using it in my daily work.
So far, I've managed to read in all my data and have done some
On Nov 7, 2011, at 9:39 AM, Paul Miller wrote:
Hello All,
I've been reading books about R for awhile now and am in the process
of replicating the SAS analyses from an old report. I want to be
sure that I can do all the things I need to in R before using it in
my daily work.
So far,
I think you are making the transform much more complicated than it needs to be:
Suppose you have a data frame with a bunch of things that look like
dates but are really factors:
Then the following transform should work from factor to Date:
df - as.Date(as.character(df), format = %Y/%m/%d)
and
Hi Michael and David,
Thank you both for your reply to my question. Problem solved. I'm finding that
my level of success with R is a little uneven thus far. I'm sometimes surprised
by the things I can do, but then am even more surprised by the simple things I
struggle with.
Appreciate your
5 matches
Mail list logo