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