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.
Methods
signature(test = "ANY") signature(test = "gmatrix") signature(test = "gvector")