View source: R/detectCharacterType.R
| filterMatrix | R Documentation |
This function filters a character matrix based on continuous (e.g., with values 2.45, 9.35, and so on) or discrete characters (e.g., with values blue, red, yellow).
filterMatrix(mat, returnType = "discrete")
mat |
A character matrix of class data.frame |
returnType |
Either discrete or continuous |
data.frame with only discrete (default) or continuous characters
data(anolis)
filterMatrix(anolis$dat, "discrete")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.