Learn R Programming

rmsb (version 1.1-1)

print.rmsb: Basic Print for Bayesian Parameter Summary

Description

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.

Usage

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

Value

matrix (rounded if 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

Author

Frank Harrell

Examples

Run this code
if (FALSE) {
  f <- blrm(...)
  print.rmsb(f)
}

Run the code above in your browser using DataLab