modifier {dcmodify} | R Documentation |
Create or read a set of data modification rules
Description
Create or read a set of data modification rules
Usage
modifier(..., .file, .data)
Arguments
... |
A comma-separated list of modification rules. |
.file |
(optional) A character vector of file locations. |
.data |
(optional) A |
Value
An object of class modifier
.
Examples
m <- modifier( if (height < mean(height)) height <- 2*height
, if ( weight > mean(weight) ) weight <- weight/2 )
modify(women,m)
[Package dcmodify version 0.9.0 Index]