summary.ggm_compare_explore {BGGM} | R Documentation |
Summary Method for ggm_compare_explore
Objects
Description
Summarize the posterior hypothesis probabilities
Usage
## S3 method for class 'ggm_compare_explore'
summary(object, col_names = TRUE, ...)
Arguments
object |
An object of class |
col_names |
Logical. Should the summary include the column names (default is |
... |
Currently ignored. |
Value
An object of class summary.ggm_compare_explore
See Also
Examples
# note: iter = 250 for demonstrative purposes
# data
Y <- bfi[complete.cases(bfi),]
# males and females
Ymale <- subset(Y, gender == 1,
select = -c(gender,
education))[,1:10]
Yfemale <- subset(Y, gender == 2,
select = -c(gender,
education))[,1:10]
##########################
### example 1: ordinal ###
##########################
# fit model
fit <- ggm_compare_explore(Ymale, Yfemale,
type = "ordinal",
iter = 250,
progress = FALSE)
# summary
summ <- summary(fit)
summ
[Package BGGM version 2.1.3 Index]