stanDx: Print Stan Diagnostics

Description Usage Arguments Value Author(s) Examples

View source: R/stanMisc.r

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

1
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

1
2
3
4
5
## Not run: 
  f <- blrm(...)
  stanDx(f)

## End(Not run)

rmsb documentation built on Feb. 28, 2021, 1:06 a.m.