formals: Extract or Replace the Parameters of a Function Definition

Description Usage Arguments

View source: R/rlanguge.R

Description

This function extracts or replaces the parameters (formal arguments) of the given function definition.

Usage

1
2
3
formals(fun)

formals(fun, envir) <- value

Arguments

fun

(Function) The function definition from which to extract or replace the parameters.

envir

Currently unused.

value

The value to replace the parameters with.


nick-ulle/ast documentation built on July 17, 2018, 4:16 a.m.