rmfi_ifelse0 returns yes if test is TRUE. If test is FALSE, it returns no.

rmfi_ifelse0(test, yes, no)

Arguments

test

an object which can be coerced to logical mode.

yes

return value for test==TRUE

no

return value for test==FALSE