Usage
pblm(assocs,tree1=NULL,tree2=NULL,covars1=NULL,covars2=NULL,bootstrap=FALSE,nreps=10,maxit=10000,pstart=c(.5,.5))
pblmpredict(x,tree1.w.novel=NULL,tree2.w.novel=NULL,predict.originals=FALSE)
Arguments
assocs
A matrix of association strengths among two sets of interacting species
tree1
A phylo tree object or a phylogenetic covariance matrix for the rows of assocs
tree2
A phylo tree object or a phylogenetic covariance matrix for the columns of assocs
covars1
A matrix of covariates (e.g., traits) for the row species of assocs
covars2
A matrix of covariates (e.g., traits) for the column species of assocs
bootstrap
logical, bootstrap confidence intervals of the parameter estimates
nreps
Number of bootstrap replicated data sets to estimate parameter CIs
pstart
starting values of the two phylogenetic signal strength parameters passed to optim
tree1.w.novel
A phylo tree object or a phylogenetic covariance matrix which corresponds to tree1
of x
with species to predict associations
tree2.w.novel
A phylo tree object or a phylogenetic covariance matrix which corresponds to tree2
of x
with species to predict associations
predict.originals
if TRUE
then the associations of each original species in the two phylogenies is predicted