50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

TSDT (version 1.0.0)

function_parameter_names: function_parameter_names

Description

Returns a character vector of the specified function's parameters

Usage

function_parameter_names(FUN)

Arguments

FUN

The name of a function

Value

A character vector of function parameter names

Examples

Run this code
# NOT RUN {
## Define a function
example_function <- function( parm1, arg2, x, bool = FALSE ){
  cat( "This is an example function.\n" )
}

## Return the function parameter names
function_parameter_names( example_function )
# }

Run the code above in your browser using DataLab