"format()" the 'VarCorr' matrix of the random effects -- for print()ing and show()ing
formatVC(
varcor,
digits = max(3, getOption("digits") - 2),
comp = "Std.Dev.",
formatter = format,
useScale = attr(varcor, "useSc"),
...
)
a VarCorr
(-like) matrix with attributes.
the number of significant digits.
character vector of length one or two indicating which columns out of "Variance" and "Std.Dev." should be shown in the formatted output.
the function
to be used for
formatting the standard deviations and or variances (but
not the correlations which (currently) are always formatted
as "0.nnn"
whether to report a scale parameter (e.g. residual standard deviation)
optional arguments for formatter(*)
in addition
to the first (numeric vector) and digits
.
a character matrix of formatted VarCorr entries from varc
.