predict.SpatialProbit: Spatial probit model predictions.
Description
Predicts of a SpatialProbit
model on a set X
of covariates
Usage
"predict"(object, X, type = "link", cut = 0.5, ...)
Arguments
object
an object of class SpatialProbit
.
X
a martix of explanatory variables.
type
the type of prediction:
"link"
- the value of the latent variable. Default
"response"
- probability.
"binary"
- binary 0/1 output.
cut
the threshold probability for the "binary"
type.
Default is 0.5.
Value
Returns a vector of predicted values for the set X
of
covariates