View source: R/fix_functions.R
manual_fix | R Documentation |
Tracks manual fixes performed on a variable in a data.frame
manual_fix(data, variable, subset, newvalues = NULL)
data |
A data.frame |
variable |
A character string with the name of the variable to be fixed |
subset |
A logical expression for selecting the cases to be fixed |
newvalues |
New value or values that will take the cases selected by |
iris2 <- manual_fix(iris, "Petal.Length", Petal.Length < 1.2, 0)
track_changes(iris2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.