Description Usage Arguments Value
replaceVal acts very similary to 'ifelse' but with a more compact syntax for checking a column against a single value.
1 | replaceValue(check, replace, replace_if = NA)
|
check |
vector to check equality to 'replace_if' |
replace |
replacement for 'check'. Recycled if necessary |
replace_if |
currently only allows a length = 1 vector to compare to 'check' |
vector of same type as 'check'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.