predict.ah {surveillance} | R Documentation |
Use a ah
object for prediction.
predict.ah(object,newdata, type=c("response","endemic"),...)
object |
object of class ah |
newdata |
optionally, a disProgObject with which to predict; if omitted, the fitted mean is returned. |
type |
the type of prediction required. The default is on the scale of the response variable (endemic and epidemic part) the alternative "endemic" returns only the endemic part (i.e. n_{it} * nu_{it}) |
... |
not really used |
this function is still experimental
matrix of values containing the mean mu_{it} for each region and time point.