anonomize | R Documentation |
Obscure participant id values by replacing them with "anon-1" and so forth.
anonomize(x, prefix = "anon")
x |
A column of "confidential" names, possibly with repeats |
prefix |
Character string to use as prefix in result. Default is "anon" |
Caution: the true "confidential" names are used as names in the output vector
Named character vector of anonymized id names.
Paul Johnson <pauljohn@ku.edu> x <- c("bill", "bob", "fred", "bill") (anonomize(x, prefix = "id"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.