phylosig(tree,x,method="K",test=FALSE,nsim=1000,se=NULL)
"phylo"
format."K"
or "lambda"
."K"
or "lambda"
.method="K"
, number of simulations in randomization test.(method="K")
, a list with the following components:(method="lambda")
, a list with the following components:lambda=0.0
.optimize
with the range of lambda set between 0 and the theoretical upper limit of lambda (determined by the relative height of the most recent internal node on the tree).tree<-rbdtree(1,0,Tmax=4)
x<-fastBM(tree)
phylosig(tree,x,method="lambda",test=TRUE)
Run the code above in your browser using DataLab