Learn R Programming

contextual (version 0.9.8.4)

ind: On-the-fly indicator function for use in formulae

Description

On-the-fly indicator function for use in formulae

Usage

ind(cond)

Arguments

cond

a logical condition to be evaluated

Value

a binary (0/1) coded variable indicating whether the condition is true