phylosig(tree, x, method="K", test=FALSE, nsim=1000, se=NULL, start=NULL,
control=list())"phylo" format."K" or "lambda"."K" or "lambda".method="K", number of simulations in randomization test.method="lambda" and se!=NULL.optim. Only used in method="lambda" and se!=NULL.(method="K"), a list with the following components:(method="lambda"), a list with the following components:lambda=0.0.optim).optim, for estimation with sampling error only.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<-pbtree(n=100)
x<-fastBM(tree)
phylosig(tree,x,method="lambda",test=TRUE)Run the code above in your browser using DataLab