vswitch: Vectorized Switch Statement

vswitchR Documentation

Vectorized Switch Statement

Description

Vectorized Switch Statement

Usage

vswitch(x, ...)

Arguments

x

The condition statement

...

name-value pairs where name repesents cases of condition statement and values represent the value it will take on in each case.

Value

Returns value for the given case.


jrdnmdhl/heRomod2 documentation built on June 29, 2023, 8:43 p.m.