powered by
Used by generic predict function
# S3 method for polyGC predict(object,x,level=NULL,...)
An object of class polyGC
value of the predictor variable
desired level of prediction interval
ignored
numeric prediction
# NOT RUN { #predict mpg for a car weighing 3 tons: mpgModel <- polyfitGC(mpg~wt,data=mtcars,degree=2) predict(mpgModel,x=3.0) #include prediction interval: predict(mpgModel,x=3.0,level=0.95) # }
Run the code above in your browser using DataLab