Learn R Programming

sphet (version 1.7)

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 'summary.sphet' and sphet

digits

minimal number of significant digits, see print.default

...

additional argument to be passed

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
# NOT RUN {
library(spdep)
data(columbus)
listw<-nb2listw(col.gal.nb)
res<-gstslshet(CRIME~HOVAL + INC, data=columbus, listw=listw)
summary(res)

# }

Run the code above in your browser using DataLab