treestat(phy, stlist = NULL, state = NULL, func, par = NULL, traitevol = NULL, a = NULL, alternative = "two.sided", simplify = T)
phy <- treesim(pars=c(0.1,0.1,0.05,0.05,0.1,0.1),N0=50,N1=50,sampling.f=c(1,1),max.t=Inf)
treestat(phy, func=tars, traitevol="random", a=1000, alternative="two.sided", simplify=TRUE)
Run the code above in your browser using DataLab