Learn R Programming

splm (version 1.6-5)

print.splm: print method for class splm

Description

Method to print objects of class summary.splm and splm

Usage

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

Arguments

x

an object of class splm

digits

minimal number of significant digits, see print.default

...

additional arguments to be passed

Author

Giovanni Millo, Gianfranco Piras

Details

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

Also a matrix for the error components, or the spatial coefficients will be generated depending on the estimated model.

See Also

spml, spgm

Examples

Run this code
data(Produc, package = "plm") 
data(usaww)
spremod<-spml(log(gsp)~log(pcap)+log(pc)+log(emp)+unemp, data=Produc,
listw = spdep::mat2listw(usaww), model="random", lag=TRUE, spatial.error="none")
summary(spremod)

Run the code above in your browser using DataLab