Description Usage Arguments Value Examples
View source: R/fillgaze-package.R
Set values in dataframe columns to NA
1 |
data |
a dataframe of eyetracking data |
... |
predicate functions that return true whenever a value should be
replaced with NAs. The functions should be named, so that the argument
|
a modified copy of the dataframe
1 2 | is_zero <- function(x) x == 0
set_values_to_na(mtcars, cyl = ~ .x == 6, vs = is_zero)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.