str.emmGrid {emmeans} | R Documentation |
Miscellaneous methods for emmGrid
objects
Description
Miscellaneous methods for emmGrid
objects
Usage
## S3 method for class 'emmGrid'
str(object, ...)
## S3 method for class 'emmGrid'
print(x, ..., export = FALSE)
## S3 method for class 'emmGrid'
vcov(object, ..., sep = get_emm_option("sep"))
Arguments
object |
An |
... |
(required but not used) |
x |
An |
export |
Logical value. If |
sep |
separator for pasting levels in creating row and column
names for |
Value
The vcov
method returns a symmetric matrix of variances and
covariances for predict.emmGrid(object, type = "lp")
Examples
warp.lm <- lm(breaks ~ wool * tension, data = warpbreaks)
warp.emm <- emmeans(warp.lm, ~ tension | wool)
vcov(warp.emm) |> zapsmall()
vcov(pairs(warp.emm), sep = "|") |> zapsmall()
[Package emmeans version 1.10.3 Index]