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)
isPhi(x)
isR2(x)
isRaw(x)
A character vector of parameter names (e.g. names of coefficients
from coef
or stdEff
).
A logical vector of the same length as x
.
isInt
: Is parameter an intercept?
isInx
: Is parameter a variable interaction (product term)?
isPhi
: Is parameter a beta regression precision coefficient?
isR2
: Is parameter an R-squared value?
isRaw
: Is parameter a raw (unstandardised) coefficient?