I am able to use lmer on an older computer without this error, but the new
version (downloaded yesterday) gives me this error message:
Error in [[-.data.frame(*tmp*, i, value = integer(0)) : replacement has 0
rows, data has 117
in response to this function:
Hello,
I get a result if I change 'as.factor(males)' to 'males'.
Hope this helps,
Pascal
On 3 December 2013 18:43, Cynthia Tedore cynthia.ted...@biol.lu.se wrote:
I am able to use lmer on an older computer without this error, but the new
version (downloaded yesterday) gives me this error
Pascal Oettli kridox at ymail.com writes:
Hello,
I get a result if I change 'as.factor(males)' to 'males'.
Hope this helps,
Pascal
On 3 December 2013 18:43, Cynthia Tedore Cynthia.Tedore at biol.lu.se
wrote:
I am able to use lmer on an older computer without this error, but the
males is a factor. If I don't specify that, then it treats it as a numeric.
any other suggestions?
On Tue, Dec 3, 2013 at 11:25 AM, Pascal Oettli kri...@ymail.com wrote:
Hello,
I get a result if I change 'as.factor(males)' to 'males'.
Hope this helps,
Pascal
On 3 December 2013 18:43,
Cynthia Tedore Cynthia.Tedore at biol.lu.se writes:
males is a factor. If I don't specify that, then it
treats it as a numeric.
any other suggestions?
transform(spiders,focal.chel=as.numeric(focal.chel),
opponent.chel=as.numeric(opponent.chel),fmales=factor(males))
5 matches
Mail list logo