Learn R Programming

rms (version 6.0-0)

print.rmsb: print.rmsb

Description

Basic Print for Bayesian Parameter Summary

Usage

# S3 method for rmsb
print(x, prob = 0.95, dec = 4, intercepts = TRUE, pr = TRUE, ...)

Arguments

x

an object created by an rms Bayesian fitting function

prob

HPD interval coverage probability (default is 0.95)

dec

amount of rounding (digits to the right of the decimal)

intercepts

set to FALSE to not print intercepts

pr

set to FALSE to return an unrounded matrix and not print

...

ignored

Value

matrix (rounded if pr=TRUE)

Details

For a Bayesian regression fit prints the posterior mean, median, SE, highest posterior density interval, and symmetry coefficient from the posterior draws. For a given parameter, the symmetry measure is computed using the distSym function.

Examples

Run this code
# NOT RUN {
  f <- blrm(...)
  print.rmsb(f)
# }

Run the code above in your browser using DataLab