View source: R/miscellaneous.R
convertVarFlag | R Documentation |
Convert flag variable to a format such as only the flagged records are counted in the summary table.
convertVarFlag(x)
x |
Character or factor variable with flag variable, should contain elements: 'Y' and 'N', or ” (for missing value). |
Formatted factor variable with levels: 'Y' & 'N'. Empty strings have been converted to NA.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.