maskDframe: Mask Variables in a Data Frame
Description
Given a list of applicable variable names in a formula, runs maskVal
on any variables in a data frame x
whose name is found in formula
.
Usage
maskDframe(x, formula, ...)
Arguments
- x
an input data frame or data table
- formula
a formula specifying the variables to perturb
- ...
parameters to pass to maskVal