manual_fix: Tracked manual fixes to data

View source: R/fix_functions.R

manual_fixR 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)

clickR documentation built on Aug. 8, 2023, 1:11 a.m.