coef.slrm: Coefficients of Fitted Spatial Logistic Regression Model

View source: R/slrm.R

coef.slrmR Documentation

Coefficients of Fitted Spatial Logistic Regression Model

Description

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

Usage

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

Arguments

object

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

...

Ignored.

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.

Value

Numeric vector of coefficients.

Author(s)

\adrian

and \rolf

See Also

slrm

Examples

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

spatstat.model documentation built on Sept. 30, 2024, 9:26 a.m.