R/AllGenerics.R
R/nobs-methods.R
nobs.Rd
Extracts the number of observations from a model.
# S4 method for class 'EL' nobs(object, ...) # S4 method for class 'SummaryEL' nobs(object, ...) # S4 method for class 'SummaryLM' nobs(object, ...)
An object that contains the number of observations.
Further arguments passed to methods.
A single integer.
EL
data("precip") fit <- el_mean(precip, par = 40) nobs(fit) #> [1] 70