nobs.gremlin: Number of observations in data from gremlin model fit objects

View source: R/summary.gremlin.R

nobs.gremlinR Documentation

Number of observations in data from gremlin model fit objects

Description

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

Usage

## 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.

Value

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

Author(s)

matthewwolak@gmail.com

Examples

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

matthewwolak/gremlin documentation built on Nov. 12, 2024, 10:56 a.m.