predict.rrq: Predictions from Restricted Quantile Regression Models

View source: R/Qtools_rrq.R

predict.rrqR Documentation

Predictions from Restricted Quantile Regression Models

Description

This function computes predictions based on fitted restricted quantile regression models.

Usage

## S3 method for class 'rrq'
predict(object, newdata, na.action = na.pass, ...)

Arguments

object

an object of class rrq.

newdata

an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

na.action

function determining what should be done with missing values in newdata. The default is to predict NA.

...

not used.

Value

a vector or a matrix or an array of predictions.

Author(s)

Marco Geraci


marco-geraci/Qtools documentation built on Sept. 4, 2023, 7:07 p.m.