Skip to contents

tp_parse take TreePPL json output and return a data.frame

Usage

tp_parse(treeppl_out, n_runs = 1)

Arguments

treeppl_out

a character vector giving the TreePPL json output.

n_runs

a base::integer giving the number of run (mcmc)/sweap (smc).

Value

List (n=n_runs) RevBayes dataframe format.

Details

This function takes a TreePPL json output and write a revBeyes data.fram format.

treeppl_out : A TreePPL json output coming from tp_treeppl.

n_runs : The number of run (mcmc) / sweap (smc) used for the inference.