anonymize | R Documentation |
Replace ID-strings with for digits - e.g. for blind observer error testing.
anonymize(
data,
remove,
path = NULL,
dest.path = NULL,
ext = ".ply",
split = "_",
levels = TRUE,
prefix = NULL,
suffix = NULL,
sample = TRUE
)
data |
Named array, matrix or vector containing data. |
remove |
integer: which entry (separated by |
path |
Path of associated files to be copied to renamed versions. |
dest.path |
where to put renamed files. |
ext |
file extension of files to be renamed. |
split |
character: by which to split specimen-ID |
levels |
logical: if a removed entry is to be treated as a factor. E.g. if one specimen has a double entry, the anonymized versions will be named accordingly. |
prefix |
character: prefix before the alias string. |
suffix |
character: suffix after the alias ID-string. |
sample |
logical: whether to randomize alias ID-string. |
data |
data with names replaced |
anonymkey |
map of original name and replaced name |
anonymize(iris,remove=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.