const | R Documentation |
Prints or returns six letter constraint codes for cmls
, along with corresponding descriptions.
const(x, print = TRUE)
x |
Vector of six letter constraint codes. If missing, prints/returns all 24 options. |
print |
Should constraint information be printed ( |
Prints (or returns) constraint codes and descriptions.
Nathaniel E. Helwig <helwig@umn.edu>
Helwig, N. E. (in prep). Constrained multivariate least squares in R.
Constraints are used in the cmls
function.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.