fct_anon | R Documentation |
Replaces factor levels with arbitrary numeric identifiers. Neither the values nor the order of the levels are preserved.
fct_anon(f, prefix = "")
f |
A factor. |
prefix |
A character prefix to insert in front of the random labels. |
gss_cat$relig %>% fct_count() gss_cat$relig %>% fct_anon() %>% fct_count() gss_cat$relig %>% fct_anon("X") %>% fct_count()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.