date_classify: date_classify

Description Usage Arguments Value

View source: R/classify.R

Description

date_classify

Usage

1
date_classify(var_name, data, rule)

Arguments

var_name

the current varaible under test #!.

data

data.frame whose rows are to be categorised according to a provided set of rules.

rule

a character vector of length one that specifies the rule to test. For date data only present (1) or absent (0) rules are testable. If an empty string is entered for the rule, any value is assumed correct.

Value

logical vector indicating which elements of the data match the rule.


oizin/labellr documentation built on Aug. 12, 2019, 11:08 a.m.