priorSim: Simulates parameters from bayou models

Description Usage Arguments Value

Description

priorSim Simulates parameters from the prior distribution specified by make.prior

Usage

1
priorSim(prior, tree, plot = TRUE, nsim = 1, shiftpars = "theta", ...)

Arguments

prior

A prior function created by bayou::make.prior

tree

A tree of class 'phylo'

plot

A logical indicating whether the simulated parameters should be plotted

nsim

The number of parameter sets to be simulated

shiftpars

A vector of parameters that split upon a shift, default is "theta"

...

Parameters passed on to plotSimmap(...)

Value

A list of bayou parameter lists


bayou documentation built on May 2, 2019, 2:46 a.m.