Description Usage Arguments Value Examples
View source: R/as.binary.matrix-functions.R
This function converts a matrix into binary (0/1).
NA
values become zero and !NA
values one.
1 |
x |
matrix |
matrix
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.