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

stanDx

Print Stan Diagnostics


Description

Retrieves the effect samples sizes and Rhats computed after a fitting function ran rstan, and prepares it for printing. If the fit was created by stackImpute, the diagnostics for all imputations are printed (separately).

Usage

stanDx(object)

Arguments

object

an object created by an rms package Bayesian fitting function such as blrm() or stackMI()

Value

matrix suitable for printing

Author(s)

Frank Harrell

Examples

## Not run: 
  f <- blrm(...)
  stanDx(f)

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