coef: Term coefficients

Description Usage Arguments Value Methods (by class) See Also Examples

Description

Gets coefficients for all the terms in an MCMC object.

Usage

1
2
## S3 method for class 'mcmc'
coef(object, conf_level = 0.95, estimate = median, simplify = TRUE, ...)

Arguments

object

The MCMC object to get the coefficients for

conf_level

A number specifying the confidence level. By default 0.95.

estimate

The function to use to calculate the estimate.

simplify

A flag specifying whether to return just the estimate, lower, upper and svalue.

...

Unused.

Value

An data frame of the coefficients with the columns indicating the term, estimate, lower and upper credible intervals and svalue

Methods (by class)

See Also

stats::coef

Examples

1

mcmcr documentation built on Sept. 7, 2021, 1:07 a.m.