Skip to content

Commit

Permalink
Merge pull request #20 from rsbivand/spD_gpkg
Browse files Browse the repository at this point in the history
addressing #19
  • Loading branch information
gpiras authored Dec 1, 2024
2 parents bd8dd47 + 86f9481 commit 474da4b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: sphet
Version: 2.0.6
Version: 2.0.7
Encoding: UTF-8
Date: 2024-02-07
Date: 2024-06-08
Title: Estimation of Spatial Autoregressive Models with and without Heteroskedastic Innovations
Authors@R: c(person("Gianfranco", "Piras", role = c("aut", "cre"),
email = "[email protected]",
Expand Down
6 changes: 3 additions & 3 deletions R/impacts.R
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ if((lambda > interval[2] ) | (lambda < interval[1])) warning("Value of the spati
#' @examples
#' require("sf", quietly=TRUE)
#' library(coda)
#' columbus <- st_read(system.file("shapes/columbus.shp", package="spData")[1], quiet=TRUE)
#' columbus <- st_read(system.file("shapes/columbus.gpkg", package="spData")[1], quiet=TRUE)
#' col.gal.nb <- spdep::read.gal(system.file("weights/columbus.gal", package="spData")[1])
#' listw <- spdep::nb2listw(col.gal.nb)
#' ev <- spatialreg::eigenw(listw)
Expand Down Expand Up @@ -689,7 +689,7 @@ impacts.stsls_sphet <- function(obj, ..., tr=NULL, R=NULL, listw=NULL,
#' summary(impacts(lm.D3))
#'
#' require("sf", quietly=TRUE)
#' columbus <- st_read(system.file("shapes/columbus.shp", package="spData")[1], quiet=TRUE)
#' columbus <- st_read(system.file("shapes/columbus.gpkg", package="spData")[1], quiet=TRUE)
#' col.gal.nb <- spdep::read.gal(system.file("weights/columbus.gal", package="spData")[1])
#' listw <- spdep::nb2listw(col.gal.nb)
#' knear <- spdep::knearneigh(cbind(columbus$X, columbus$Y), 5)
Expand Down Expand Up @@ -933,7 +933,7 @@ impacts.ols_sphet <- function(obj, ..., tr=NULL, R=NULL, listw=NULL,
#' @examples
#' library(sphet)
#' require("sf", quietly=TRUE)
#' columbus <- st_read(system.file("shapes/columbus.shp", package="spData")[1], quiet=TRUE)
#' columbus <- st_read(system.file("shapes/columbus.gpkg", package="spData")[1], quiet=TRUE)
#' col.gal.nb <- spdep::read.gal(system.file("weights/columbus.gal", package="spData")[1])
#' listw <- spdep::nb2listw(col.gal.nb)
#' error1 <- spreg(CRIME ~ INC + HOVAL, columbus, listw, Durbin=TRUE,
Expand Down
2 changes: 1 addition & 1 deletion man/impacts.error_sphet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/impacts.ols_sphet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/impacts.stsls_sphet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 474da4b

Please sign in to comment.