Functions to determine the presence/absence of certain model parameter types using their names. Intended largely for convenience and internal use.
isInt(x)isInx(x)
isR2(x)
A character vector of parameter names (e.g. names of coefficients
from coef
or stdCoeff
).
A logical vector of the same length as x
.
isInt
: Is parameter an intercept?
isInx
: Is parameter a variable interaction (product term)?
isR2
: Is parameter an R-squared value?