str_call: str_call

Description Usage Arguments Value See Also Examples

View source: R/str_call.R

Description

Constructs a function call from a name or a function and a list of arguments to be passed to it.

Usage

1
str_call(func, args, lib = NULL)

Arguments

func

character: a non-empty character string naming the function to be called.

args

list: a list of arguments to the function call. The names attribute of args gives the argument names.

lib

character: name of library as prefix ot the function to be called (default: NULL)

Value

a text representation fo the function call

See Also

do.call

Examples

1
2
do.call('abs', list(x=-10))
str_call('abs', list(x=-10))

sigbertklinke/shinyExample documentation built on May 26, 2019, 4:32 a.m.