modify | R Documentation |
Modify a data set
modify(dat, x, ...)
## S4 method for signature 'data.frame,modifier'
modify(dat, x, logger = NULL, ...)
dat |
A |
x |
A |
... |
Extra arguments. |
logger |
Optional. A |
m <- modifier( if (height < mean(height)) height <- 2*height
, if ( weight > mean(weight) ) weight <- weight/2 )
modify(women,m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.