powered by
Obscure participant id values by replacing them with "anon-1" and so forth.
anonomize(x, prefix = "anon")
Named character vector of anonymized id names.
A column of "confidential" names, possibly with repeats
Character string to use as prefix in result. Default is "anon"
Paul Johnson <pauljohn@ku.edu> x <- c("bill", "bob", "fred", "bill") (anonomize(x, prefix = "id"))
Caution: the true "confidential" names are used as names in the output vector