Learn R Programming

compositions (version 1.01-1)

gsicall: Internal functions of the compositions package

Description

Calls a function with a list of arguments.

Usage

gsi.call(fkt,...)

Arguments

fkt
The function to be called
...
The arguments to call the function with

Details

This is only useful in conjunction with do.call and allows to call anonymous functions with parameters given by a list.

See Also

gsi

Examples

Run this code
mypars <- list(x=3)
#do.call("gsi.call",c(list(function(x){x}),mypars))

Run the code above in your browser using DataLab