Functions to determine the 'type' of an R object using classes. Intended largely for convenience and internal use.
isList(x)isBoot(x)
isMod(x)
isGlm(x)
isMer(x)
isGls(x)
isBet(x)
A logical value.
An R object.
isList()
: Is object a list (class "list"
only)?
isBoot()
: Is object a boot object (class "boot"
)?
isMod()
: Is object a fitted model?
isGlm()
: Is object a generalised linear model (i.e. uses a
link function)?
isMer()
: Is object a mixed model (class "merMod"
)?
isGls()
: Is object a generalised least squares model (class
"gls"
)?
isBet()
: Is object a beta regression model (class
"betareg"
)?