print.sphet: print method for class sphet

View source: R/summary.sphet.R

print.sphetR Documentation

print method for class sphet

Description

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

Usage

## S3 method for class '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

Details

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

Author(s)

Gianfranco Pirasgpiras@mac.com

See Also

gstslshet, stslshac

Examples

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

gpiras/sphet documentation built on Feb. 21, 2024, 3:39 p.m.