nobs: Number of observations in a model

nobsR 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

EL

Examples

data("precip")
fit <- el_mean(precip, par = 40)
nobs(fit)

melt documentation built on May 31, 2023, 7:12 p.m.