melt_samples: Melt a mult-dimensional array of samples into a df

Description Usage Arguments Value

View source: R/stan-conj-update.R

Description

Melt a mult-dimensional array of samples into a df

Usage

1
melt_samples(samples, varname)

Arguments

samples

Named list of samples (like returned by rstan::extract)

varname

Name of variable whose samples to melt

Value

A tidy dataframe of samples


kleinschmidt/beliefupdatr documentation built on May 24, 2020, 8:26 p.m.