[R] anova applied to a lme object

2007-03-07 Thread Berta
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

Re: [R] anova applied to a lme object

2007-03-07 Thread José Rafael Ferrer Paris
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

Re: [R] anova applied to a lme object

2007-03-07 Thread Berta
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