# S3 method for cdfqr
fitted(
object,
type = c("full", "mu", "sigma", "theta", "one", "zero"),
plot = FALSE,
...
)
Arguments
object
A cdfqr model fit object
newdata
Optional. A data frame in which to look for variables with which to predict. If not provided, the fitted values are returned
type
A character that indicates whether the full model prediction/fitted values are needed, or values for the `mu` and `sigma` submodel only.
quant
A number or a numeric vector (must be in (0, 1)) to specify the quantile(s) of the predicted value (when `newdata` is provided, and predicted values for responses are required). The default is to use median to predict response values.