print.summary.slmfit: Prints the summary of a fitted spatial linear model.

View source: R/print.summary.slmfit.R

print.summary.slmfitR Documentation

Prints the summary of a fitted spatial linear model.

Description

This function uses the object that is output from summary.slmfit().

Usage

## S3 method for class 'summary.slmfit'
print(
  x,
  digits = max(3L, getOption("digits") - 3L),
  signif.stars = getOption("show.signif.stars"),
  ...
)

Arguments

x

is an summary object generated from summary.slmfit()

digits

is the number of digits to be displayed in the model output

signif.stars

is an option to show which predictors are significant.

...

further arguments passed to or from other methods.

Value

a list with

  • model formula

  • summary statistics for the residuals.

  • a table of fixed effects estimates and associated standard errors.

  • estimated spatial covariance parameter estimates.

  • generalized r-squared value.

Examples

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

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