View source: R/gkwreg-other-methods.R
| response | R Documentation |
Extracts the response variable from a fitted Generalized Kumaraswamy regression model object.
response(object, ...)
## S3 method for class 'gkwreg'
response(object, ...)
object |
An object of class |
... |
Currently not used. |
A numeric vector containing the response variable values.
Lopes, J. E.
gkwreg, fitted.gkwreg, residuals.gkwreg
data(GasolineYield)
fit <- gkwreg(yield ~ batch + temp, data = GasolineYield, family = "kw")
y <- response(fit)
head(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.