boolDF2numeric | R Documentation |
Convert a logical data.frame to a numeric data.frame (TRUE -> 1; FALSE -> 0)
boolDF2numeric(DF)
DF |
a boolean (logical) data.frame |
a numeric data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.