Learn R Programming

compositions (version 2.0-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
# NOT RUN {
mypars <- list(x=3)
#do.call("gsi.call",c(list(function(x){x}),mypars))
# }

Run the code above in your browser using DataLab