Extract Bayesian Summary of Coefficients
# S3 method for rmsb
coef(object, stat = c("mean", "median", "mode"), ...)
an object created by an rms
package Bayesian fitting function
name of measure of posterior distribution central tendency to compute
ignored
a vector of intercepts and regresion coefficients
Computes either the posterior mean (default), posterior median, or posterior mode of the parameters in an rms
Bayesian regression model
# NOT RUN {
f <- blrm(...)
coef(f, stat='mode')
# }
Run the code above in your browser using DataLab