Learn R Programming

term (version 0.1.0)

term: Term Vector

Description

Creates a term vector from object dimensions.

Usage

term(x, ...)

# S3 method for integer term(x, name = "par", ...)

Arguments

x

An integer vector of the object dimensions or a named list of the parameter's dimensions.

...

Unused.

name

A string specifying the name of the parameter.

Value

A term vector.

Methods (by class)

  • integer: Term vector from an integer vector of the object's dimensions

See Also

term-vector(), dims() and pdims()

Examples

Run this code
# NOT RUN {
term(0L)
term(1L)
term(2L)
# }

Run the code above in your browser using DataLab