read.RevBayes {CRABS} | R Documentation |
read RevBayes log file
Description
read RevBayes log file
Usage
read.RevBayes(x, n_times, max_t = 100, n_samples = 20, summary_type = "none",
extinction_prefix = "extinction_rate.", speciation_prefix = "speciation_rate.")
Arguments
x |
path to log, or data frame |
n_times |
number of time knots |
max_t |
tree height |
n_samples |
first n posterior samples |
summary_type |
either "none" for all the posterior samples, or "mean" or "median" for the posterior mean/median |
extinction_prefix |
the prefix string for the extinction rate column names. Must be unique |
speciation_prefix |
the prefix string for the speciation rate column names. Must be unique |
Value
a set of CRABS models, each being a sample in the posterior
Examples
data(primates_ebd_log)
posterior <- read.RevBayes(primates_ebd_log, n_times = 500, max_t = 65, n_samples = 20)
[Package CRABS version 1.2.0 Index]