summary.slmfit: Summarizes a fitted spatial linear model.

View source: R/summary.slmfit.R

summary.slmfitR Documentation

Summarizes a fitted spatial linear model.

Description

In conjunction with print.summary.slmfit(), the output looks similar to output from R's standard lm() function.

Usage

## S3 method for class 'slmfit'
summary(object, ...)

Arguments

object

is an object generated from slmfit() of class slmfit.

...

further arguments passed to or from other methods.

Value

a list with

  • model formula

  • a table of fixed effects estimates and associated standard errors

  • estimated spatial covariance parameter estimates

  • residuals

  • generalized r-squared.

Examples

data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
summary(slmobj)

sptotal documentation built on Dec. 12, 2022, 1:06 a.m.