remove_formal {foolbox}R Documentation

Remove a parameter from the formal parameters of a function.

Description

Remove a parameter from the formal parameters of a function.

Usage

remove_formal(fn, par)

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.


[Package foolbox version 0.1.1 Index]