Learn R Programming

melt (version 1.11.3)

nobs: Number of observations in a model

Description

Extracts the number of observations from a model.

Usage

# S4 method for EL
nobs(object, ...)

# S4 method for SummaryEL nobs(object, ...)

# S4 method for SummaryLM nobs(object, ...)

Value

A single integer.

Arguments

object

An object that contains the number of observations.

...

Further arguments passed to methods.

See Also

EL

Examples

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

Run the code above in your browser using DataLab