Re: [R] Change column of numbers in data frame to days

2010-10-23 Thread will phillips
Hello Uwe, Thank you very much! Works like a charm. I wouldn't have thought of that fix on my own. Will -- View this message in context: http://r.789695.n4.nabble.com/Change-column-of-numbers-in-data-frame-to-days-tp3008441p3008699.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Change column of numbers in data frame to days

2010-10-23 Thread Uwe Ligges
On 23.10.2010 17:08, will phillips wrote: Hello Dr. Pagel, Thank you very much for the input. It is "almost" working. It will indicate every day of the week except Sunday. Any multiple of 7 is giving . I'll tinker with it a bit. I really appreciate the direction you've provided. foo <-

Re: [R] Change column of numbers in data frame to days

2010-10-23 Thread will phillips
Hello Dr. Pagel, Thank you very much for the input. It is "almost" working. It will indicate every day of the week except Sunday. Any multiple of 7 is giving . I'll tinker with it a bit. I really appreciate the direction you've provided. Will -- View this message in context: http://r.

Re: [R] Change column of numbers in data frame to days

2010-10-23 Thread Philipp Pagel
> I have a vector of numbers ranging form 20 to 500. The numbers represent > days since a starting point. The list is not consecutive, some numbers > skipped and some numbers duplicated. I know day 1 was a Monday. I want to > use this vector in a lm but I need to factor by day. I'm wondering ho

[R] Change column of numbers in data frame to days

2010-10-23 Thread will phillips
Hello, I have seen a few posts about changing a vector of numbers to days of the week where the numbers are 1-7. I have a similar problem with a twist. I have a vector of numbers ranging form 20 to 500. The numbers represent days since a starting point. The list is not consecutive, some numbers