powered by
User-friendly debug statements
ic(x)
If x is an expression, returns the result of evaluating x. If x is missing nothing is returned.
x
An expression, or nothing
f <- function(x) x < 0 ic(f(1)) ic(f(-1))
Run the code above in your browser using DataLab