powered by
Model predictions for GEE
GEE
# S3 method for GEE predict(object, ..., newdata)
A model object of class GEE to be used for making predictions
Other arguments to be passed to predict
predict
A data frame containing variables to base the predictions on.
A vector of predicted values
# NOT RUN { data(musdata) coords<-musdata[,4:5] mgee<-GEE(musculus ~ pollution + exposure,'poisson',musdata, coord=coords,corstr="fixed",plot=TRUE) pred<-predict(mgee,newdata=musdata) # }
Run the code above in your browser using DataLab