[R] VarCorr function for assigning random effects: was Question
HDoran at air.org
Thu Sep 1 14:34:39 CEST 2005
If you are indeed using lme and not lmer then the needed function is
VarCorr(). However, 2 recommendations. First, this is a busy list and
better emails subject headers get better attention. Second, I would
recommend using lmer as it is much faster. However, VarCorr seems to be
incompatible with lmer and I do not know of another function to work
Hence, a better email subject header will attract the attention of
others *much* smarter than me!
I hope this helps,
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Mahmoud Torabi
Sent: Wednesday, August 31, 2005 9:51 PM
To: R-help at stat.math.ethz.ch
Cc: mtorabi at math.carleton.ca
Subject: [R] Question
I would be pleased if anybody can help me. I'm using linear mixed model
(lme) function.I'm doing some simulation in my research and need to be
assigned variance components values during of my program. Specifically,
when I use lme function, I can get some information by use summary() and
I can assign some valuse like variance of fixed parameters and variance
of random error term by using for example varFix and sigma.But I don't
know how I can assign for variance of random effect.
I know in SPLUS we have command var.ran, how about R ?
R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!
More information about the R-help