# [Rd] quantreg package - predict method for rq objects (PR#2374)

**u9801539@leonard.anu.edu.au
**
u9801539@leonard.anu.edu.au

*Sat Dec 14 10:47:02 2002*

In help(rq.object), under Methods, it says:
"
The `"rq"' class of objects has methods for the following generic
functions: `coef', `effects' , `formula' , `labels' ,
`model.frame' , `model.matrix' , `plot' , `predict' , `print' ,
`print.summary' , `residuals' , `summary'
"
There seems to be no predict method:
>* y <- rnorm(500)
*>* u <- rq(y ~ 1, tau=.75)
*Warning message:
Solution may be nonunique in: rq.fit.br(x, y, tau = tau, ...)
>* predict(u)
*Error in predict(u) : no applicable method for "predict"
[I have looked both at the Windows and at the Darwin/X11 versions.]
John Maindonald email : john.maindonald@anu.edu.au
Centre for Bioinformation Science, phone : (6125)3473
c/o MSI, fax : (6125)5549
John Dedman Mathematical Sciences Building (Building 27)
Australian National University
Canberra ACT 0200
Australia