Re: [R] Extracting Variance Components

From: John Wilkinson (pipex) <wilks_at_dial.pipex.com>
Date: Fri 28 Oct 2005 - 02:01:25 EST


Mike,

use ---

VarCorr(lme.object)

or for a user friendly output use varcomp from the 'ape' package--

require(ape)
varcomp(lme.object)

varcomp also allows scaling of components to unity (*100 gives %) and also allows for cumulative sum of components.

Note. varcomp doesn't work for lmer objects.

HTH, John


Michel Friesenhahn wrote---------  

Dear List,

Is there a way to extract variance components from lmeObjects or summary.lme objects without using intervals()? For my purposes I don't need the confidence intervals which I'm obtaining using parametric bootstrap.

Thanks,

Mike



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Oct 28 05:33:56 2005

This archive was generated by hypermail 2.1.8 : Fri 28 Oct 2005 - 06:18:49 EST