powered by
mu!=0
bounds!=c(-Inf,Inf)
fastBM(tree,a=0,mu=0,sig2=1,bounds=c(-Inf,Inf),internal=FALSE,nsim=1)
"phylo"
nsim=1
n
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