egf_has_random function

Test for Random Effects

Test for Random Effects

Tests whether an object specifies a model with random effects.

egf_has_random(object, check = TRUE)

Arguments

  • object: an egf object.

  • check: a logical. If TRUE, then an error is thrown if object

    does not actually inherit from class egf.

Returns

TRUE or FALSE.