Obtains predictions from a fitted `addreg`

object.

1 2 3 |

`object` |
a fitted object of class inheriting from |

`newdata` |
optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted linear predictors are used. |

`type` |
the type of prediction required. The default is on the scale of the linear predictors;
the alternative The value of this argument can be abbreviated. |

`terms` |
with |

`na.action` |
function determining what should be done with missing values in |

`checkminmax` |
logical indicating whether or not values of continuous covariates in |

`...` |
further arguments passed to or from other methods. |

If `newdata`

is omitted the predictions are based on the data used for the fit.
In that case how cases with missing values in the original fit are treated is determined by the
`na.action`

argument of that fit. If `na.action = na.omit`

, omitted cases
will not appear in the residuals; if `na.action = na.exclude`

they will
appear, with residual value `NA`

. See also `napredict`

.

A vector or matrix of predictions. For `type = "terms"`

, this is a matrix with
a column per term, and may have an attribute `"constant"`

.

Variables are first looked for in `newdata`

and then searched for in the usual
way (which will include the environment of the formula used in the fit). A warning
will be given if the variables found are not of the same length as those in
`newdata`

if it was supplied.

Mark W. Donoghoe Mark.Donoghoe@mq.edu.au

`predict.glm`

for the equivalent method for models fit using `glm`

.

1 | ```
## For an example, see example(addreg)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.