Description Usage Arguments Value Examples
View source: R/detectCharacterType.R
Filter a matrix, returning either all continuous or all discrete characters
1 | 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
1 2 3 | 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.