Geographically Weighted Regression

Hi,

What package would you recommend using for GWR?

Many thanks

Jakub

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") .