View source: R/generic.helper.fun.R
This function searches for a value and replaces it with new.values
. When
length(new.values) > 1
, sufs
needs to be passed to append a
suffix to the file name, otherwise the file is overwritten.
1 2 3 4 5 6 7 8 |
template |
The full name of the csv map file to use as template |
new.values |
is the vector of values that are replaced |
old.value |
is the value that is searched and replaced in the csv file |
file.name |
A character vector with the output file name |
sufs |
A character vector with suffix(es) |
dir.out |
Path where to save the output. If NULL (default), the working directory is used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.