how do I specify random factors in R ?

Posted by Modelbr on Stack Overflow See other posts from Stack Overflow or by Modelbr
Published on 2010-03-14T20:03:38Z Indexed on 2010/03/14 20:55 UTC
Read the original article Hit count: 132

Filed under:

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)

© Stack Overflow or respective owner

Related posts about r