function_args: get matched argument list for a given function

View source: R/function_args.R

function_argsR Documentation

get matched argument list for a given function

Description

extracts and names user-specified arguments according to function defaults

Usage

function_args(package, name, object, ..., use.default = paste0(name,
  ".default"), drop = FALSE)

Arguments

package

the package to use to get the function from

name

the function name

object

the first argument, which may have a class to match functions to

...

user arguments to be used for the list

use.default

use different function name other than <function>.default (optional)

drop

boolean for dropping all non-formal args passed in with ...


USGS-R/gsplot documentation built on April 17, 2023, 8:45 p.m.