manual_fix {clickR}R Documentation

Tracked manual fixes to data

Description

Tracks manual fixes performed on a variable in a data.frame

Usage

manual_fix(data, variable, subset, newvalues = NULL)

Arguments

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 subset parameter.

Examples

iris2 <- manual_fix(iris, "Petal.Length", Petal.Length < 1.2, 0)
track_changes(iris2)

[Package clickR version 0.8.0 Index]