plot.slrm: Plot a Fitted Spatial Logistic Regression

View source: R/slrm.R

plot.slrmR Documentation

Plot a Fitted Spatial Logistic Regression

Description

Plots a fitted Spatial Logistic Regression model.

Usage

  ## S3 method for class 'slrm'
plot(x, ..., type = "intensity")

Arguments

x

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

...

Extra arguments passed to plot.im to control the appearance of the plot.

type

Character string (partially) matching one of "probabilities", "intensity" or "link".

Details

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

This function plots the result of predict.slrm.

Value

None.

Author(s)

\adrian

adrian@maths.uwa.edu.au

and \rolf

See Also

slrm, predict.slrm, plot.im

Examples

   data(copper)
   X <- copper$SouthPoints
   Y <- copper$SouthLines
   Z <- distmap(Y)
   fit <- slrm(X ~ Z)
   plot(fit)
   plot(fit, type="link")

spatstat.core documentation built on May 18, 2022, 9:05 a.m.