predict.speedglm: Predict method for a speedglm object
Description
summary The method is currently under construction but some functionalities are available.
Usage
# S3 method for speedglm
predict(object, newdata, type = c("link", "response"),
na.action = na.pass, ...)
Value
pred
a vector of predictions.
Arguments
object
an object of class 'speedlgm'.
newdata
An optional data frame with new data or the original data.
type
Type of prediction.
na.action
function determining what should be done with missing values in newdata.
...
further optional arguments
Author
Tomer Kalimi and Marco Enea
Details
If newdata is omitted prediction are based on the data used for the fit only if argument fitted was previously set to TRUE in the speedglm object.
Currently the method does not work for function shglm.