print.slmfit {sptotal}R Documentation

Prints the fitted coefficient table of a fitted spatial linear model.

Description

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

Usage

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

Arguments

x

is an object generated from slmfit()

digits

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

...

further arguments passed to or from other methods.

Value

a list with

Examples

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

[Package sptotal version 1.0.1 Index]