Learn R Programming

rms (version 6.0-0)

print.blrm: print.blrm

Description

Print blrm Results

Usage

# S3 method for blrm
print(
  x,
  dec = 4,
  coefs = TRUE,
  intercepts = x$non.slopes < 10,
  prob = 0.95,
  ns = 400,
  title = "Bayesian Logistic Regression Model",
  ...
)

Arguments

x

object created by blrm

dec

number of digits to print to the right of the decimal

coefs

specify FALSE to suppress printing parameter estimates, and in integer k to print only the first k

intercepts

set to FALSE to suppress printing intercepts. Default is to print them unless there are more than 9.

prob

HPD interval probability for summary indexes

ns

number of random samples of the posterior draws for use in computing HPD intervals for accuracy indexes

title

title of output

...

passed to prModFit

Details

Prints main results from blrm along with indexes and predictive accuracy and their highest posterior density intervals computed from blrmStats.

Examples

Run this code
# NOT RUN {
  f <- blrm(...)
  options(lang='html')   # default is lang='plain'; also can be latex
  f               # print using defaults
  print(f, posterior.summary='median')   # instead of post. means
# }

Run the code above in your browser using DataLab