manual_fix {clickR} | 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)