Learn R Programming

bgms (version 0.1.6.3)

coef.bgms: Extract Coefficients from a bgms Object

Description

Returns the posterior mean thresholds, pairwise effects, and edge inclusion indicators from a bgms model fit.

Usage

# S3 method for bgms
coef(object, ...)

Value

A list with the following components:

main

Posterior mean of the category threshold parameters.

pairwise

Posterior mean of the pairwise interaction matrix.

indicator

Posterior mean of the edge inclusion indicators (if available).

Arguments

object

An object of class bgms.

...

Ignored.