Extracts the response variable from a fitted Generalized Kumaraswamy
regression model object.
Usage
response(object, ...)
# S3 method for class 'gkwreg'
response(object, ...)
Arguments
- object
An object of class "gkwreg".
- ...
Currently not used.
Value
A numeric vector containing the response variable values.
Examples
# \donttest{
data(GasolineYield)
fit <- gkwreg(yield ~ batch + temp, data = GasolineYield, family = "kw")
#> Warning: NaNs produced
y <- response(fit)
head(y)
#> 1 2 3 4 5 6
#> 0.122 0.223 0.347 0.457 0.080 0.131
# }