coef.bayz: Extract posterior means and SDs for all or a selection of...

View source: R/coef.R

coef.bayzR Documentation

Extract posterior means and SDs for all or a selection of coefficients

Description

Extract from the Bayz output all or a selection of coefficients (posterior mean and SD), i.e. estimates from the fx(), rg() and rn() terms.

Usage

## S3 method for class 'bayz'
coef(object, which = NULL, splitLabels = TRUE, ...)

Arguments

object

A bayz model output

which

A vector TRUE/FALSE to indicate which model coefficients to extract (should match the rows in the $Parameters table in a bayz output object). It can be omitted to extract all coefficients.

splitLabels

Whether labels that contain in multiple columns (default TRUE).

...

Additional parameters.

Value

a list with one member (a data frame) for each coefficient


MarniTausen/BayzR documentation built on April 4, 2024, 9:30 a.m.