Simulate a continuous trait using the Cauchy Process
rTraitCauchy( n =1, phy, model = c("cauchy","lambda","kappa","delta"), parameters =NULL)
Arguments
n: number of independent replicates
phy: a phylogeny in apephylo format.
model: a phylogenetic model. Default is "cauchy", for the Cauchy process. Alternative are "lambda", "kappa", and "delta".
parameters: list of parameters for the model (see Details).
Returns
If n=1, a numeric vector with names from the tip labels in the tree. For more than 1 replicate, a matrix with the tip labels as row names, and one column per replicate.