Geographically Weighted Regression


What package would you recommend using for GWR?

Many thanks


Try CRAN - Package spgwr

thanks, could you advise with coors argument. what object shall I put there? I've tried "sfc_MULTIPOLYGON" "sfc" but it says 'Error in nrow(dp) : object 'OriginalniHranice' not found'.

The documentation says.
matrix of coordinates of points representing the spatial positions of the observations; may be omitted if the object passed through the data argument is from
package sp

And from sf you have.
as_Spatial() allows to convert sf and sfc to Spatial*DataFrame and Spatial* for sp compatibility. You can also use as(x, "Spatial") To transform sp objects to sf and sfc with as(x, "sf") .

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.