Simulates parameters from bayou models

Share:

Description

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

Usage

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

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

...

Parameters passed on to plotSimmap(...)

Value

A list of bayou parameter lists

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.