Skip to content

:predict.ppr

3 messages · Brian Ripley, Peter Ho

#
Hi all,

I am doing a projection pursuit regression using the ppr() function from
modreg.
I would also like to use predict.ppr(). However, I cannot find any
information about it in the help files. There is a link to predict.ppr
in the index for modreg, but that link is to the help for ppr().

Has predict.ppr() not been implemented?

If not, does anyone have a suggestion as to how to implement
predict.ppr()  in R?


Thanks


Peter

-------------------------------------------------
Peter Ho GradIFST
Escola Superior de Biotecnologia
Universidade Cat?lic Portuguesa
Rua Dr. Ant?nio Bernardino de Almeida
4200 Porto
Portugal


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 8 Jun 2001, Peter Ho wrote:

            
I don't know what to say!  You should be wanting to use the predict()
generic function on your fit.  If you had tried it, it would have worked.

Also, there is an example of using predict on a ppr object in the main
reference ....
Because methods should not be individually documented unless the differ
from the generic.
Why do you think it appear in the function list
[1] "anova.loess"               "ksmooth"
 [3] "loess"                     "loess.control"
 [5] "loess.smooth"              "plot.ppr"
 [7] "pointwise"                 "ppr"
 [9] "ppr.default"               "ppr.formula"
[11] "predLoess"                 "predict.loess"
[13] "predict.ppr"               "predict.smooth.spline"
[15] "predict.smooth.spline.fit" "print.loess"
[17] "print.ppr"                 "print.smooth.spline"
[19] "print.summary.loess"       "print.summary.ppr"
[21] "scatter.smooth"            "simpleLoess"
[23] "smooth.spline"             "summary.loess"
[25] "summary.ppr"               "supsmu"

?
I do have a suggestion: learning the difference between generic functions
and methods would help reduce your confusion.
#
Prof Ripley,
Thanks for pointing this out.


Peter

-------------------------------------------------
Peter Ho GradIFST
Escola Superior de Biotecnologia
Universidade Cat?lic Portuguesa
Rua Dr. Ant?nio Bernardino de Almeida
4200 Porto
Portugal





-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._