Object.Type: Object Types

Object.TypeR Documentation

Object Types

Description

Functions to determine the 'type' of an R object using classes. Intended largely for convenience and internal use.

Usage

isList(x)

isBoot(x)

isMod(x)

isGlm(x)

isMer(x)

isGls(x)

isBet(x)

Arguments

x

An R object.

Value

A logical value.

Functions

  • 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")?


semEff documentation built on Aug. 22, 2022, 9:07 a.m.