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

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
## 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)

[email protected]

Examples

1
2
3
4
5
6
mod11 <- gremlinR(WWG11 ~ sex - 1,
random = ~ calf,
data = Mrode11,
Gstart = matrix(0.1), Rstart = matrix(0.4),
maxit = 50, v = 2, algit = "EM")
nobs(mod11)

gremlin documentation built on May 2, 2019, 6:47 a.m.