summary_tidy: Get the stanfit-summary as a tibble

Description Usage Arguments Value

View source: R/summary.R

Description

Uses summary() for stanfit and converts it into a tibble. Also separates the parameter name and its dimensions into separate columns similar to extract_tidy().

Usage

1
summary_tidy(f, pars = character(0L), probs = c(0.1, 0.5, 0.9))

Arguments

f

An object of class stanfit.

pars

The names of the paremters to be extracted. If empty, all the paremters are extracted.

probs

The quantiles paremters to be extracted. If empty, the 0.1, 0.5 and 0.9-quantiles are extracted.

Value

A tibble with the following columns columns:


paasim/stanutils documentation built on July 19, 2019, 12:47 a.m.