prop_matching | R Documentation |
Calculate the percent of non-missing values in a character vector containing the values of interest. This is a helper function for factorize_df().
prop_matching(vec, valid_strings, ignore.case = FALSE)
vec |
character vector. |
valid_strings |
the values that the variable can possibly take on. |
ignore.case |
if TRUE, ignores case in matching |
a numeric proportion between 0 and 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.