Hi R-users,
when carrying out a multiple regression, say lm(y~x1+x2), we can use an
anova of the regression with summary.aov(lm(y~x1+x2)), and afterwards
evaluate the relative contribution of each variable using the global Sum of
Sq of the regression and the Sum of Sq of the simple regression
The variances of the random effects and the residual variances are given
by the summary function. Maybe VarCorr or varcomp gives you the answer
you are looking for:
library(nlme)
library(ape)
?VarCorr
?ape
JR
El mié, 07-03-2007 a las 13:09 +0100, Berta escribió:
Hi R-users,
when carrying out
PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Wednesday, March 07, 2007 5:16 PM
Subject: Re: [R] anova applied to a lme object
The variances of the random effects and the residual variances are given
by the summary function. Maybe VarCorr or varcomp gives you the answer
you are looking