View source: R/detectCharacterType.R
filterMatrix | R Documentation |
Filter a matrix, returning either all continuous or all discrete characters
filterMatrix(mat, charType, returnType = "discrete")
mat |
A matrix of data |
charType |
A vector of character types (perhaps from detectAllCharacters) |
returnType |
Either discrete or continuous |
Matrix with only discrete or continuous characters
data(anolis) aType<-detectAllCharacters(anolis$dat) filterMatrix(anolis$dat, aType, "discrete")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.