predict.ugrpl | R Documentation |
Obtains predictions from a fitted unit gamma regression object.
## S3 method for class 'ugrpl'
predict(
object,
newdata = NULL,
type = c("response", "link", "dispersion", "variance", "quantile"),
na.action = stats::na.pass,
at = 0.5,
...
)
object |
a |
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 response variable |
na.action |
function determining what should be done with missing
values in |
at |
the order of the quantile to be predicted if
|
... |
arguments passed to or from other methods. |
A vector of predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.