Learn R Programming

BGGM (version 1.0.0)

summary.ggm_compare_estimate: Summary method for ggm_compare_estimate.default objects

Description

Summary method for ggm_compare_estimate.default objects

Usage

# S3 method for ggm_compare_estimate
summary(object, cred = 0.95, ...)

Arguments

object

An object of class ggm_compare_estimate

cred

credible interval width

...

currently ignored

Value

A list containing the summarized posterior distributions

See Also

ggm_compare_estimate.default

Examples

Run this code
# NOT RUN {
# data
Y1 <- BGGM::bfi[1:500,1:5]
Y2 <- BGGM::bfi[501:1000, 1:5]

# fit model
fit <- ggm_compare_estimate(Y1, Y2)

# posterior summary of differences
summary(fit)

# }

Run the code above in your browser using DataLab