This function simulates data for a given set of parameter values.
dataSim(pars, model, tree, map.type = "pars", SE = 0, phenogram = TRUE,
...)
A bayou formated parameter list
The type of model specified by the parameter list (either "OU", "OUrepar" or "QG").
A tree of class 'phylo'
Either "pars" if the regimes are taken from the parameter list, or "simmap" if taken from the stored simmap in the tree
A single value or vector equal to the number of tips specifying the measurement error that should be simulated at the tips
A logical indicating whether or not the simulated data should be plotted as a phenogram
Optional parameters passed to phenogram(...)
.
dataSim
Simulates data for a given bayou model and parameter set