Learn R Programming

sphet (version 2.1-1)

print.sphet: print method for class sphet

Description

Method used to print objects of class 'summary.sphet' and 'sphet'

Usage

# S3 method for sphet
print(x, digits = max(3, getOption("digits") - 3),...)

Arguments

x

an object of class 'sphet'

digits

minimal number of significant digits, see print.default

...

additional arguments to be passed

Author

Gianfranco Pirasgpiras@mac.com

Details

The summary function summary.sphet returns an objects of class 'sphet' organized in a coefficient matrix.

See Also

gstslshet, stslshac

Examples

Run this code
library(spdep)
data(columbus)
listw <- nb2listw(col.gal.nb)
res <- spreg(CRIME~HOVAL + INC, data=columbus, listw=listw, model ="sarar")
summary(res)

Run the code above in your browser using DataLab