R: Fitted Probabilities for Spatial Logistic Regression

fitted.slrm {spatstat} | R Documentation

## Fitted Probabilities for Spatial Logistic Regression

### Description

Given a fitted Spatial Logistic Regression model, this function computes the fitted probabilities for each pixel.

### Usage

      ## S3 method for class 'slrm'
    fitted(object, ...)

### Arguments

`object` | a fitted spatial logistic regression model. An object of class `"slrm"`.
`...` | Ignored.

### Details

This is a method for the generic function `fitted` for spatial logistic regression models (objects of class `"slrm"`, usually obtained from the function `slrm`).

The algorithm computes the fitted probabilities of the presence of a random point in each pixel.

### Value

A pixel image (object of class `"im"`) containing the fitted probability for each pixel.

### Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au adrian@maths.uwa.edu.au

and Rolf Turner r.turner@auckland.ac.nz

### See Also

`slrm`, `fitted`

### Examples

      X <- rpoispp(42)
      fit <- slrm(X ~ x+y)
      plot(fitted(fit))

[Package spatstat version 1.54-0 Index]