Displaying 1 result from an estimated 1 matches for "lakernd".
Did you mean:
lakeland
2004 Apr 01
2
modelling nested random effects with interactions in R
...7 0.04000 *
habfac:fishfac 2 13.0101 6.5050 18.8281 9.196e-07 ***
habfac:fishfac:lakefac 4 3.0103 0.7526 2.1783 0.08557 .
Residuals 48 16.5838 0.3455
---
So now I try to run it using the lme4 package, treating lakefac as random;
>
> lakernd <- lme(ltotinv ~ habfac + fishfac/lakefac + habfac:fishfac + habfac:
(lakefac %in% fishfac), random = ~ lakefac)
Error in .class1(object) : Argument "data" is missing, with no default
> lakernd
Error: Object "lakernd" not found
The lme help file suggests that if "dat...