remove_formal: Remove a parameter from the formal parameters of a function.

Description Usage Arguments Value

View source: R/formals.R

Description

Remove a parameter from the formal parameters of a function.

Usage

1

Arguments

fn

A function we are modifying

par

A parameter of fn (should be in formals(fn) and not be quoted)

Value

A modified function equal to fn but with par removed from the formal parameters.


foolbox documentation built on May 1, 2019, 8:44 p.m.