powered by
Extract the number of 'observations' in a gremlin model fit.
# S3 method for gremlin nobs(object, use.fallback = FALSE, ...)
An object of class ‘gremlin’.
class
logical: should fallback methods be used to try to guess the value? Included for compatibility.
Further arguments to be passed to the methods.
A single number, usually an integer, but can be NA.
integer
NA
# NOT RUN { 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) # }
Run the code above in your browser using DataLab