View source: R/LMMsolve-class.R
summary.LMMsolve | R Documentation |
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, ...)
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 |
A data.frame with either effective dimensions or variances depending on which.
print(summary.LMMsolve)
: print summary
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.