Learn R Programming

compositions (version 0.9-11)

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

Value

    Details

    This is only useful in conjunction with do.call and allows to call anonymous functions with a 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