[R] Predicting responses using ace

Luis Pineda luisen.p at gmail.com
Tue Sep 6 21:33:55 CEST 2005


Hello everybody,

I'm a new user of R and I'm working right now with the ACE function
from the acepack library. I Have a question: Is there a way to predict
new responses using ACE? What I mean is doing something similar to the
following code that uses PPR (Projection Pursuit Regression):

library(MASS)
x <- runif(20, 0, 1)
xnew <- runif(2000, 0, 1)
y <- sin(x)
a <- ppr(x, y, 2)
ynew <- predict(ppr, xnew)

Any help would be much appretiated, Thanks in advance,
Luis Pineda




More information about the R-help mailing list