[R-sig-phylo] Error estimating RMA in phytools

2012-06-22 Thread Oscar Valverde
Hi I am working on the correlation among traits of 36 plants. I am using the function phyl.RMA to estimate relationship between pairs of traits but I keep having a error message CNvrSRLphylo-phyl.RMA(Chem2mean[,1],Morpho2mean[,1],treeARP,method=lambda) Error in solve.default(kronecker(R, C)) :

Re: [R-sig-phylo] Error estimating RMA in phytools

2012-06-22 Thread Liam J. Revell
Hi Oscar. My educated guess after some investigating is this is because the objects Chem2mean and Morpho2mean are data frames not matrices; and thus Chem2mean[,1] does not contain names. Try first doing: Chem2mean-as.matrix(Chem2mean), and the same with Morpho2mean, and then repeat the