spatstat (version 1.57-1)

coef.slrm: Coefficients of Fitted Spatial Logistic Regression Model

Description

Extracts the coefficients (parameters) from a fitted Spatial Logistic Regression model.

Usage

# S3 method for slrm
coef(object, ...)

Arguments

object

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

Ignored.

Value

Numeric vector of coefficients.

Details

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

It extracts the fitted canonical parameters, i.e.\ the coefficients in the linear predictor of the spatial logistic regression.

See Also

slrm

Examples

Run this code
# NOT RUN {
  X <- rpoispp(42)
  fit <- slrm(X ~ x+y)
  coef(fit)
# }

Run the code above in your browser using DataCamp Workspace