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.366   0.546
#>    B2     0.500   0.048   0.408   0.592
#>    B3     0.548   0.052   0.458   0.659
#>    B4     0.501   0.047   0.412   0.608
#>    B5     0.464   0.047   0.375   0.556

# }