powered by
A function for predictions from the results of various model fitting functions.
Predict(object, ...)
a model object for which prediction is desired.
additional arguments affecting the predictions produced.
Should return a vector of the same type as the response variable specified for fitting object.
object
A somewhat improved version of predict for models fitted with objects of class StatModel-class.
predict
StatModel-class
# NOT RUN { df <- data.frame(x = runif(10), y = rnorm(10)) mf <- dpp(linearModel, y ~ x, data = df) Predict(fit(linearModel, mf)) # }
Run the code above in your browser using DataLab