tidy.sarpoisson: Tidying methods for spatially autoregressive poisson models

Description Usage Arguments Examples

View source: R/sarpoisson-tidiers.R

Description

These methods tidy the coefficients of spatial autoregression models generated by functions in the 'spatialreg' package.

Usage

1
2
## S3 method for class 'sarpoisson'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

Arguments

x

An object returned from [sppois::sarpoisson()]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
library(sppois)
crime_sppois <- sarpoisson(crime_i ~ income + home_value, data = columbus_crime,
                           listw = columbus_neighbors, method = "fiml")

tidy(crime_sppois)
tidy(crime_sppois, conf.int = TRUE, conf.level = 0.99)
glance(crime_sppois)


## End(Not run)

gregmacfarlane/sppois documentation built on June 11, 2021, 10:55 a.m.