setNonApp: Set non-applicable tag depend on condition

Description Usage Arguments Value

Description

A convenient method to set non-applicable tag depend on condition

Usage

1
setNonApp(data = ., colname, condition, notApplicableChar = "NonApp")

Arguments

data

a data.frame

colname

a character vector of length one, in which non-applicable tag must be set

condition

the condition that trigger the set of non-applicable tag

notApplicableChar

a character vector of length one, containing the non-applicable tag. Default to 'NonApp'

Value

a data.frame with the non-applicable tag set


rgriffier/statsBordeaux documentation built on Aug. 11, 2021, 9:59 a.m.