Search notes:

R function: do.call

func <- function(a,b) { a * b }
data <- list(c(7, 9, 2),
             c(6, 2, 8))

do.call(func, data)
# [1] 42 18 16
Github repository about-r, path: /functions/do.call/basic.R

Constructing a function call

do.call can be used to contstruct a function call with dynamic arguments.

See also

Index to (some) R functions

Index