Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fitted.slrm

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)

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

See Also

Examples

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

spatstat.core

Core Functionality of the 'spatstat' Family

v2.1-2
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Kasper Klitgaard Berthelsen [ctb], Achmad Choiruddin [ctb], Jean-Francois Coeurjolly [ctb], Ottmar Cronie [ctb], Tilman Davies [ctb], Julian Gilbey [ctb], Yongtao Guan [ctb], Ute Hahn [ctb], Kassel Hingee [ctb], Abdollah Jalilian [ctb], Marie-Colette van Lieshout [ctb], Greg McSwiggan [ctb], Tuomas Rajala [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Plenge Waagepetersen [ctb], Hangsheng Wang [ctb]
Initial release
2021-04-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.