[R] Translation of R code required
Sarah Goslee
sarah.goslee at gmail.com
Fri Nov 3 19:47:54 CET 2006
On 11/3/06, Barry Rowlingson <B.Rowlingson at lancaster.ac.uk> wrote:
> How do you know that step works? If the dataframe 'mental' doesnt have
> an 'Rx' column then mental$Rx will be 'NULL', and the factor() function
> will make a factor out of that...
Good point. I rarely use factors and missed that one.
Happily, my inaccurate solution turned out to solve the problem anyway.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list