Description Usage Arguments Value Note References Examples
View source: R/predictability.R
Network Predictability (R2)
1 | predictability(x, ci = 0.95)
|
x |
An object of class |
ci |
Numeric. The confidence interval to be computed (defaults to |
An object of class predictability
, including a matrix of R2
for each node.
Predictability is variance explained for each node in the network \insertCiteHaslbeck2018GGMnonreg.
1 2 3 4 5 6 7 8 9 10 11 | # data
Y <- ptsd
# estimate graph
fit <- ggm_inference(Y, boot = FALSE)
# predictability
r2 <- predictability(fit)
# print
r2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.