get_omega | R Documentation |
Extracts variance-covariance or correlation matrix from a
brokenstick
object.
get_omega(
x,
hide = c("right", "left", "boundary", "internal", "none"),
cor = FALSE,
whatknots = "all",
what = "cov"
)
x |
Object of class |
hide |
Should output for knots be hidden in get, print, summary and plot
functions? Can be |
cor |
Logical. Should the function return the correlation matrix
instead of the covariance matrix? The default is |
whatknots |
Deprecated. |
what |
Deprecated. |
A numeric matrix, possibly with zero rows and columns if no names match
f1 <- brokenstick(hgt_z ~ age | id, smocc_200[1:1000, ], knots = 0:2, seed = 1)
get_omega(f1, cor = TRUE, hide = "boundary")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.