P: Create a function from an partial function call

Description Usage Arguments Value

View source: R/P_function.R

Description

Partial function function application is usually done by using the function keyword to define a new function with some arguments pre-specified. This function allows you to make a partially applied function directly from a partial function call.

Usage

1
P(.call, .quote = TRUE)

Arguments

.call

A partial function call.

.quote

Logical; If TRUE, the call is quoted.

Value

A function.


JonasMoss/SPQR documentation built on Oct. 30, 2019, 7:58 p.m.