Skip to contents

Summary Method for predictability Objects

Usage

# S3 method for class 'predictability'
summary(object, cred = 0.95, ...)

Arguments

object

An object of class predictability.

cred

Numeric. The credible interval width for summarizing the posterior distributions (defaults to 0.95; must be between 0 and 1).

...

Currently ignored

Examples

# \donttest{
Y <- ptsd[,1:5]

fit <- explore(Y, iter = 250,
               progress = FALSE)

r2 <- predictability(fit, iter = 250,
                     progress = FALSE)

summary(r2)
#> BGGM: Bayesian Gaussian Graphical Models 
#> --- 
#> Metric: Bayes R2
#> Type: continuous 
#> --- 
#> Estimates:
#> 
#>  Node Post.mean Post.sd Cred.lb Cred.ub
#>    B1     0.443   0.046   0.358   0.537
#>    B2     0.505   0.049   0.402   0.585
#>    B3     0.560   0.045   0.485   0.649
#>    B4     0.503   0.047   0.420   0.607
#>    B5     0.464   0.050   0.366   0.557

# }