Skip to contents

Extracts the number of observations from a fitted Generalized Kumaraswamy regression model.

Usage

# S3 method for class 'gkwreg'
nobs(object, ...)

Arguments

object

An object of class "gkwreg", typically obtained from gkwreg.

...

Currently not used.

Value

Integer representing the number of observations used in model fitting.

See also

Author

Lopes, J. E.

Examples

# \donttest{
data(GasolineYield)
fit <- gkwreg(yield ~ batch + temp, data = GasolineYield, family = "kw")
#> Warning: NaNs produced
nobs(fit)
#> [1] 32
# }