Displaying 1 result from an estimated 1 matches for "s789695n4646457h12".
2012 Oct 17
0
In mean.default(X[[50L]], ...) : argument is not numeric or logical: returning NA
Hi Arun,
Thank you so much for your help. In the end, I wound up using:
sp.data$spores<-as.numeric(as.character(sp.data$spores))
The stats guy on campus helped me :)
Be well,
Melissa
________________________________________
From: arun kirshna [via R] [ml-node+s789695n4646457h12@n4.nabble.com]
Sent: Wednesday, October 17, 2012 6:51 AM
To: Moore, Melissa
Subject: Re: In mean.default(X[[50L]], ...) : argument is not numeric or logical: returning NA
HI,
Try this:
set.seed(1)
sp.data<-data.frame(iso=factor(rep(1:4,each=4)),spec=factor(sample(1:5,16,replace=TRUE)),temp=fa...