Learn R Programming

ProbitSpatial (version 1.1)

fitted.ProbitSpatial: Extract spatial probit model fitted values.

Description

Extract the fitted values of a ProbitSpatial model.

Usage

# S3 method for ProbitSpatial
fitted(object, type = c("link", "response", "binary"), cut = 0.5, ...)

Arguments

object

an object of class ProbitSpatial.

type

the type of output:

"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.

...

ignored

Value

Returns the vector of fitted values of the ProbitSpatial model