Skip to content
Prev 41851 / 63421 Next

round() ignores missing arguments if it is used inside another function where some arguments are missing.

On Nov 19, 2011, at 04:35 , Henrik Bengtsson wrote:

            
Yes. See e.g. help(alist) for actual usage. 

It can also be used to pass empty arguments to FUN in apply-constructs:

a <- matrix(1:12, 3, 4)
f <- function(i, j) a[i,j]
lapply(1:4, f, i=)