powered by
Use compare to quickly compare the estimated parameters of the fits of multiple lmerMod or rlmerMod objects.
compare
compare(..., digits = 3, dnames = NULL, show.rho.functions = TRUE)# S3 method for lmerMod getInfo(object, ...)# S3 method for rlmerMod getInfo(object, ...)# S3 method for comparison.table xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... )# S3 method for xtable.comparison.table print( x, add.hlines = TRUE, latexify.namescol = TRUE, include.rownames = FALSE, ... )getInfo(object, ...)
# S3 method for lmerMod getInfo(object, ...)
# S3 method for rlmerMod getInfo(object, ...)
# S3 method for comparison.table xtable( x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ... )
# S3 method for xtable.comparison.table print( x, add.hlines = TRUE, latexify.namescol = TRUE, include.rownames = FALSE, ... )
getInfo(object, ...)
getInfo returns a list with estimated coefficients, estimated variance components, sigma, deviance and parameter configuration used to fit.
getInfo
objects to compare, or, for the xtable functions: passed to the respective xtable function.
xtable
number of digits to show in output
names of objects given as arguments (optional)
whether to show rho functions in output.
object
object of class "comparison.table" or "xtable.comparison.table"
see xtable.
replace empty lines in comparison table by hlines. Supersedes hline.after argument of print.xtable.
hline.after
print.xtable
replace “sigma” and “x” in the first column by latex equivalents.
include row numbers (the object returned by xtable.comparison.table includes names in the first column)
xtable.comparison.table
The functions xtable.comparison.table and print.xtable.comparison.table are wrapper functions for the respective xtable and print.xtable functions.
print.xtable.comparison.table
The function getInfo is internally used to prepare object for producing a comparison chart in compare.
if (FALSE) { fm1 <- lmer(Yield ~ (1|Batch), Dyestuff) fm2 <- rlmer(Yield ~ (1|Batch), Dyestuff) compare(fm1, fm2) require(xtable) xtable(compare(fm1, fm2)) str(getInfo(fm1)) }
Run the code above in your browser using DataLab