const: Print or Return Constraint Options for cmls

View source: R/const.R

constR Documentation

Print or Return Constraint Options for cmls

Description

Prints or returns six letter constraint codes for cmls, along with corresponding descriptions.

Usage

const(x, print = TRUE)

Arguments

x

Vector of six letter constraint codes. If missing, prints/returns all 24 options.

print

Should constraint information be printed (print = TRUE) or returned as a data frame (print = FALSE).

Value

Prints (or returns) constraint codes and descriptions.

Author(s)

Nathaniel E. Helwig <helwig@umn.edu>

References

Helwig, N. E. (in prep). Constrained multivariate least squares in R.

See Also

Constraints are used in the cmls function.

Examples

# print some constraints
const(c("uncons", "smpeno"))

# return some constraints
const(c("uncons", "smpeno"), print = FALSE)

# print all constraints
const()

# return all constraints
const(print = FALSE)


CMLS documentation built on April 3, 2023, 5:24 p.m.