ArgumentOriginalName: Finds the original value (name of expression) of the argument...

View source: R/ArgumentOriginalName.R

ArgumentOriginalNameR Documentation

Finds the original value (name of expression) of the argument of a function even in the case of embedded calls.

Description

This function is used internally to find the name of arguments passed to entropart functions such as PhyloDiversity that store them in their results.

Usage

ArgumentOriginalName(x)

Arguments

x

Any argument.

Details

The function searches the name of the argument in the parent frame of the function and stops at the top.

Value

The name of the argument.

Author(s)

BrodieG, <https://stackoverflow.com/users/2725969/brodieg>

Eric Marcon <Eric.Marcon@agroparistech.fr>


entropart documentation built on Sept. 26, 2023, 5:09 p.m.