powered by
outerList(X, Y, FUN, ...)
rep
FUN is the applied to these two extended vectors by mapply.
mapply
When they exist, the names of X and Y will be used as rownames and colnames.
outer
a <- list(a = 1:3, b = 4:7, c = 8:9) b <- list(x = 4:8, y = 0:1) f <- function(x, y) any(match(x, y, nomatch = 0L) > 0L) outerList(a, b, f)
Run the code above in your browser using DataLab