skembel / picante

R tools for integrating phylogenies and ecology

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

match.phylo.data fails when given a data.frame with a single column

skembel opened this issue · comments

function match.phylo.data fails if the supplied data is a data.frame with a single column

The solution work now. This is an example:

mauvais <- select(phylocom$traits, "traitA")
ncol(mauvais)
is.data.frame(mauvais)
match.phylo.data(phylocom$phylo, mauvais[,1])