R/s3methods.R
nobs.fastlmm.Rd
Extract the Number of Observations from a Fit
# S3 method for class 'fastlmm' nobs(object, ...)
fitted model of class fastlmm
fastlmm
other args, not used
library(MASS) # GLMM via PQL fit <- fastglmm(y ~ trt + I(week > 2) + (1 | ID), family = binomial(), data = bacteria) nobs(fit) #> [1] 220