customcolumnnames | R Documentation |
Determine column names or column types if custom columns are present.
customcolumnnames(modelnames, custom.columns, custom.col.pos, types = FALSE)
modelnames |
A |
custom.columns |
The same argument as specified in the
|
custom.col.pos |
The same argument as specified in the
|
types |
Return the column types? If |
This function takes model names (as saved in the attributes of a matrix
generated by matrixreg
, for example) and the
custom.columns
and custom.col.pos
arguments of
link{matrixreg}
or related functions and determines the column types
("coefnames"
, "coef"
, or "customcol"
) or model names in
the presence of custom columns.
A character
vector with column names or types in the possible
presence of custom columns. If types = TRUE
, the vector contains
the values "coefnames"
(for the first column), "coef"
(for
columns with coefficients), or "customcol"
(for custom new columns).
Philip Leifeld
matrixreg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.