powered by
Filter a matrix, returning either all continuous or all discrete characters
filterMatrix(mat, charType, returnType = "discrete")
A matrix of data
A vector of character types (perhaps from detectAllCharacters)
Either discrete or continuous
Matrix with only discrete or continuous characters
# NOT RUN { data(anolis) aType<-detectAllCharacters(anolis$dat) filterMatrix(anolis$dat, aType, "discrete") # }
Run the code above in your browser using DataLab