skembel / picante

R tools for integrating phylogenies and ecology
33 stars 17 forks source link

matrix2sample fails if rownames missing #1

Closed skembel closed 8 years ago

skembel commented 10 years ago

function matrix2sample fails if the supplied matrix/data.frame lacks rownames

jarioksa commented 10 years ago

Use dimnames(provideDimnames(z))

skembel commented 8 years ago

Thanks - merged