nobs {melt} | R Documentation |
Number of observations in a model
Description
Extracts the number of observations from a model.
Usage
## S4 method for signature 'EL'
nobs(object, ...)
## S4 method for signature 'SummaryEL'
nobs(object, ...)
## S4 method for signature 'SummaryLM'
nobs(object, ...)
Arguments
object |
An object that contains the number of observations. |
... |
Further arguments passed to methods. |
Value
A single integer.
See Also
Examples
data("precip")
fit <- el_mean(precip, par = 40)
nobs(fit)
[Package melt version 1.11.4 Index]