Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.blrm

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

Bayesian Regression Modeling Strategies

v0.0.2
GPL (>= 3)
Authors
Frank Harrell [aut, cre] (<https://orcid.org/0000-0002-8271-5493>), Ben Goodrich [ctb] (contributed Stan code), Ben Bolker [ctb] (wrote original code that is folded into the pdensityContour function), Doug Bates [ctb] (write original code for highest posterior density interval that is folded into the HPDint function)
Initial release
2021-02-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.