summary.estimate: Summary method for 'estimate.default' objects

Description Usage Arguments Value See Also Examples

View source: R/estimate.R

Description

Summarize the posterior distribution of each partial correlation with the posterior mean and standard deviation.

Usage

1
2
## S3 method for class 'estimate'
summary(object, col_names = TRUE, cred = 0.95, ...)

Arguments

object

An object of class estimate

col_names

Logical. Should the summary include the column names (default is TRUE)? Setting to FALSE includes the column numbers (e.g., 1--2).

cred

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

...

Currently ignored.

Value

A dataframe containing the summarized posterior distributions.

See Also

estimate

Examples

1
2
3
4
5
6
7
# data
Y <- ptsd[,1:5]

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

summary(fit)

BGGM documentation built on Aug. 20, 2021, 5:08 p.m.