Hi guys ,
How do I specify random factors in R ?
If I have a factor x1 which is supposed to be random , can I try something like this ?
lm(y ~ x1, data = p)
Hi guys ,
How do I specify random factors in R ?
If I have a factor x1 which is supposed to be random , can I try something like this ?
lm(y ~ x1, data = p)
Are you by chance looking for the lme4 package which is focussed on linear mixed-effects (ie. fixed versus random) modelling?