Learn R Programming

term (version 0.3.5)

pars.default: Parameter Names

Description

Gets the parameter names.

Usage

# S3 method for default
pars(x, scalar = NULL, ...)

Value

A character vector of the names of the parameters.

Arguments

x

An object.

scalar

A flag specifying whether to by default return all parameters (NULL), or only scalar parameters (TRUE) or only non-scalar parameters (FALSE).

...

Other arguments passed to methods.

See Also

universals::pars

Other parameters: pars.character(), pars.term_rcrd(), pars.term(), pars_terms()

Examples

Run this code
pars(matrix(1:4, nrow = 2))

Run the code above in your browser using DataLab