as.data.frame.adfit {adnuts}R Documentation

Convert object of class adfit to data.frame. Calls extract_samples

Description

Convert object of class adfit to data.frame. Calls extract_samples

Usage

## S3 method for class 'adfit'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

Fitted object from sample_rwm

row.names

Ignored

optional

Ignored

...

Ignored

Details

This calls the default settings of extract_samples, no warmup samples and no column for the log-posterior (lp__). Use this function directly for finer control.

Value

A data frame with parameters as columns and samples as rows.


[Package adnuts version 1.1.2 Index]