qtplot.lmscreg.RdPlots quantiles associated with a LMS quantile regression.
qtplot.lmscreg(object, newdata = NULL,
percentiles = object@misc$percentiles,
show.plot = TRUE, ...)A VGAM quantile regression model, i.e.,
an object produced by modelling functions
such as vglm
and vgam with a family function beginning with
"lms.", e.g., lms.yjn.
Optional data frame for computing the quantiles. If missing, the original data is used.
Numerical vector with values between 0 and 100 that specify the percentiles (quantiles). The default are the percentiles used when the model was fitted.
Logical. Plot it? If FALSE no plot will
be done.
Graphical parameter that are passed into
plotqtplot.lmscreg.
The `primary' variable is defined as the main covariate upon which the regression or smoothing is performed. For example, in medical studies, it is often the age. In VGAM, it is possible to handle more than one covariate, however, the primary variable must be the first term after the intercept.
A list with the following components.
A vector of fitted percentile values.
The percentiles used.
Yee, T. W. (2004). Quantile regression via vector generalized additive models. Statistics in Medicine, 23, 2295–2315.
plotqtplot.lmscreg does the actual plotting.