Displaying 1 result from an estimated 1 matches for "newnb".
Did you mean:
newbb
2013 Mar 06
1
Difficulty in caper: Error in phy$node.label[which(newNb > 0) - Ntip]
...I'm following Charlie Nunn and Natalie Cooper's instructions for
"Running PGLS in R using caper".
I run into the following error when I create my comparative dataset,
combining my phylogenetic tree (mammaltree) and taxon measures
(mammaldata):
"Error in phy$node.label[which(newNb > 0) - Ntip] : only 0's may be
mixed with negative subscripts"
My full script is provided at the bottom.
I have looked at the caper manual by David Orme to understand how
comparative.data() constructs the dataset, but still cannot interpret
the error. Many thanks to anyone who could p...