predict.lsm {lsm} | R Documentation |
Predict Method for lsm
Objects
Description
Obtains predictions from a fitted lsm
object.
Usage
## S3 method for class 'lsm'
predict(
object,
newdata,
type = c("link", "response", "odd"),
interval = c("none", "confidence", "prediction", "odd"),
level = 0.95,
...
)
Arguments
object |
A fitted object of class |
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 |
interval |
gives the |
level |
gives the |
... |
further arguments passed to or from other methods. |
Details
Predict Method for lsm Fits
Value
A vector or matrix of predictions. following components:
[Package lsm version 0.2.1.2 Index]