Last chance! 50% off unlimited learning
Sale ends in
mu!=0
), and bounds (for bounds!=c(-Inf,Inf)
).fastBM(tree, a=0, mu=0, sig2=1, bounds=c(-Inf,Inf), internal=FALSE, nsim=1)
"phylo"
format.mu!=0
.nsim=1
) or matrix containing the tip states for the n
species in the tree, and (optionally) the ancestral states for internal nodes.branching.diffusion
tree<-pbtree(n=1000)
x<-fastBM(tree,sig2=0.1) # Brownian motion
y<-fastBM(tree,mu=1) # with a trend
Run the code above in your browser using DataLab