Skip to content
Prev 53055 / 63421 Next

can we override "if" in R?

You can. Perhaps needless to say, be careful with this.

? `if` <- function(...) FALSE
? if (TRUE) TRUE else FALSE
[1] FALSE

G.
On Sat, Mar 4, 2017 at 5:36 PM, Da Zheng <zhengda1936 at gmail.com> wrote: