print.summary.sphet: print method for class sphet

View source: R/summary.sphet.R

print.summary.sphetR Documentation

print method for class sphet

Description

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

Usage

## S3 method for class 'summary.sphet'
print(x,digits= max(3, getOption("digits") - 2), 
width=getOption("width"), obsinfo=FALSE,...)

Arguments

x

an object of class 'sphet'

digits

minimal number of significant digits, see print.default

width

controls the maximum number of columns on a line used in printing

obsinfo

for objects of class distance: if TRUE prints observation-wise information

...

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.