This function simulates the evolution of continuous characters along a phylogeny. Traits values can be more or less influenced by the provided model.
rTraitContWeight(tree, model = "BM", weight = 1, as.p4d = FALSE)
An object of class phyloSimSignal.
an object of class "phylo
.
the model to use ("BM
" or "OU
").
a numeric vector with values ranging between 0 and 1 giving the balance between pure random evolution and the selected model.
logical. Should the phylogenetic tree and the simulated data coerced to a phylo4d
object?