coef.jags_sample: Coefficients

Description Usage Arguments Value See Also

Description

Calculates coefficients for a jags_sample object

Usage

1
2
3
## S3 method for class 'jags_sample'
coef(object, level = "current", estimate = "current",
  as_list = FALSE, ...)

Arguments

object

a jags_sample object from predict(...,level = "no")

level

a numeric scalar specifying the significance level or a character scalar specifying which mode the level should be taken from. By default the level is as currently specified by opts_jagr in the global options.

estimate

a character scalar specifying whether the point estimate should be the "mean" or the "median" or a character scalar which mode the level should be #' taken from. By default the estimate is as currently specified by opts_jagr in the global options.

as_list

a logical scalar indicating whether the coefs should be in the form of a list (as_list = TRUE) or the default (as_list = FALSE) a data.frame.

...

further arguments passed to or from other methods.

Value

a data.frame of the parameter estimates with the point estimate and lower and upper credible limits as well as the standard deviation, percent relative error and significance

See Also

opts_jagr and jaggernaut


poissonconsulting/jaggernaut documentation built on Feb. 18, 2021, 11:10 p.m.