Learn R Programming

sasif (version 0.1.2)

else_if_do: Create a SAS-style ELSE IF rule

Description

Creates an ELSE IF rule for use inside data_step().

Usage

else_if_do(condition, ...)

Value

A rule object for data_step().

Arguments

condition

Logical condition evaluated on the data.table.

...

Named assignments to apply when condition is TRUE.