nobs.gremlin function

Number of observations in data from gremlin model fit objects

Number of observations in data from gremlin model fit objects

Extract the number of 'observations' in a gremlin model fit.

## S3 method for class 'gremlin' nobs(object, use.fallback = FALSE, ...)

Arguments

  • object: An object of class gremlin .
  • use.fallback: logical: should fallback methods be used to try to guess the value? Included for compatibility.
  • ...: Further arguments to be passed to the methods.

Returns

A single number, usually an integer, but can be NA.

Examples

grS <- gremlin(WWG11 ~ sex - 1, random = ~ sire, data = Mrode11) nobs(grS)

Author(s)

matthewwolak@gmail.com

  • Maintainer: Matthew Wolak
  • License: GPL-3 | file LICENSE
  • Last published: 2024-11-04