modcall: Auxiliary function: modifying calls

Description Usage Arguments Value

View source: R/modcall.R

Description

This function can be used to modify calls in several ways.

Usage

1
modcall(call, newcall, newargs, keepargs, dropargs)

Arguments

call

Call object to be modified.

newcall

New function to be called.

newargs

List, new arguments and their values.

keepargs

List, arguments in original call to keep, with the rest being dropped.

dropargs

List, arguments in original call to drop, with the rest being kept.

Value

New call object.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.