make_call: Make a parsnip call expression

View source: R/arguments.R

make_callR Documentation

Make a parsnip call expression

Description

Make a parsnip call expression

Usage

make_call(fun, ns, args, ...)

Arguments

fun

A character string of a function name.

ns

A character string of a package name.

args

A named list of argument values.

Details

The arguments are spliced into the ns::fun() call. If they are missing, null, or a single logical, then are not spliced.

Value

A call.


parsnip documentation built on Aug. 18, 2023, 1:07 a.m.