Learn R Programming

gmatrix (version 0.3)

ifelse: Conditional Element Selection

Description

ifelse returns a value with the same shape as test which is filled with elements selected from either yes or no depending on whether the element of test is TRUE or FALSE.

Arguments

Methods

signature(test = "ANY")
signature(test = "gmatrix")
signature(test = "gvector")