Skip to contents

tp_parse takes TreePPL json output and returns a data.frame

Usage

tp_parse(treeppl_out, n_runs = 1)

Arguments

treeppl_out

a character vector giving the TreePPL json output produced by tp_treeppl.

n_runs

a base::integer giving the number of runs (MCMC) or sweeps (SMC).

Value

A list (n = n_runs) of data frames with the output from inference in TreePPL.