print.blrm: Print 'blrm()' Results

print.blrmR Documentation

Print blrm() Results

Description

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

Usage

## S3 method for class 'blrm'
print(
  x,
  dec = 4,
  coefs = TRUE,
  intercepts = x$non.slopes < 10,
  prob = 0.95,
  ns = 400,
  title = NULL,
  ...
)

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, constructed by default

...

passed to prModFit

Author(s)

Frank Harrell

Examples

## 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

## End(Not run)

rmsb documentation built on Sept. 11, 2024, 8:12 p.m.