# methods.slrm

From spatstat v1.36-0
by Adrian Baddeley

##### Methods for Spatial Logistic Regression Models

These are methods for the class `"slrm"`

.

##### Usage

```
## S3 method for class 'slrm':
formula(x, \dots)
## S3 method for class 'slrm':
print(x, ...)
## S3 method for class 'slrm':
terms(x, \dots)
## S3 method for class 'slrm':
labels(object, \dots)
## S3 method for class 'slrm':
update(object, ..., evaluate = TRUE, env = parent.frame())
```

##### Arguments

- x,object
- An object of class
`"slrm"`

, representing a fitted spatial logistic regression model. - ...
- Arguments passed to other methods.
- evaluate
- Logical value. If
`TRUE`

, evaluate the updated call to`slrm`

, so that the model is refitted; if`FALSE`

, simply return the updated call. - env
- Optional environment in which the model should be updated.

##### Details

These functions are methods for the generic commands
`formula`

,
`update`

,
`print`

,
`terms`

and
`labels`

for the class `"slrm"`

.

An object of class `"slrm"`

represents a fitted
spatial logistic regression model. It is obtained from `slrm`

.

##### Value

- See the help files for the corresponding generic functions.

##### See Also

`slrm`

, `plot.slrm`

,
`predict.slrm`

, `simulate.slrm`

,
`vcov.slrm`

,
`coef.slrm`

.

##### Examples

```
data(redwood)
fit <- slrm(redwood ~ x)
coef(fit)
formula(fit)
tf <- terms(fit)
labels(fit)
```

*Documentation reproduced from package spatstat, version 1.36-0, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.