View source: R/bayou-simulation.r
priorSim | R Documentation |
priorSim
Simulates parameters from the prior distribution specified by make.prior
priorSim(prior, tree, plot = TRUE, nsim = 1, shiftpars = "theta", ...)
prior |
A prior function created by |
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 |
A list of bayou parameter lists drawn from the prior.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.