coef.rmsb {rmsb} | R Documentation |
Extract Bayesian Summary of Coefficients
Description
Computes either the posterior mean (default), posterior median, or posterior mode of the parameters in an rms
Bayesian regression model
Usage
## S3 method for class 'rmsb'
coef(object, stat = c("mean", "median", "mode"), ...)
Arguments
object |
an object created by an |
stat |
name of measure of posterior distribution central tendency to compute |
... |
ignored |
Value
a vector of intercepts and regression coefficients
Author(s)
Frank Harrell
Examples
## Not run:
f <- blrm(...)
coef(f, stat='mode')
## End(Not run)
[Package rmsb version 1.1-0 Index]