Description Usage Arguments Value Examples
This function makes it easier to convert values to missing (NA).
1 |
x |
A vector of factor data to convert to a dummy. |
term |
A vector of terms to recode as 1. |
drop |
Drop missing levels? Defaults to TRUE. |
A vector of data, with missing data marked as NA.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.