Summary method for class "LMMsolve". Creates either a table of effective dimensions (which = "dimensions") or a table of variances (which = "variances").
## S3 method for class 'LMMsolve'summary(object, which = c("dimensions","variances"),...)## S3 method for class 'summary.LMMsolve'print(x,...)
Arguments
object: An object of class LMMsolve
which: A character string indicating which summary table should be created.
...: Some methods for this generic require additional arguments. None are used in this method.
x: An object of class summary.LMMsolve, the result of a call to summary.LMM
Returns
A data.frame with either effective dimensions or variances depending on which.
Methods (by generic)
print(summary.LMMsolve): print summary
Examples
## Fit model on john.alpha data from agridat package.data(john.alpha, package ="agridat")## Fit simple model with only fixed effects.LMM1 <- LMMsolve(fixed = yield ~ rep + gen, data = john.alpha)## Obtain table of effective dimensions.summ1 <- summary(LMM1)print(summ1)## Obtain table of variances.summ2 <- summary(LMM1, which ="variances")print(summ2)