Re: [R-sig-Geo] Fitting GWR for Panel Data in R

2018-06-27 Thread Dexter Locke
See Fotheringham, A. S., Crespo, R., & Yao, J. (2015). Geographical and Temporal Weighted Regression (GTWR). *Geographical Analysis*, 1–22. https://doi.org/10./gean.12071 Gollini, I., Lu, B., Charlton, M., Brunsdon, C., & Harris, P. (2015). GWmodel: An R Package for Exploring Spatial

Re: [R-sig-Geo] Difference in area calculation between QGIS and R

2018-06-27 Thread Suncus Etruscus
Thank you for you answer, Michael, I am new to the use of R for spatial analyses. I have always used QGIS for this kind of operations, but this time I need to repeat the area calculation with thousands of polygons several times in a loop, so I switched to R. Actually, what my work needs is the

Re: [R-sig-Geo] Difference in area calculation between QGIS and R

2018-06-27 Thread Edzer Pebesma
On 06/27/2018 05:29 PM, Michael Sumner wrote: > Raster uses a (discretized) cosine-of-latitude approximati (popular amongst > longlat map makers). As far as I can tell, raster branches into the libgeographic code (copied into the package sources, although Karney is not mentioned as one of the

Re: [R-sig-Geo] Difference in area calculation between QGIS and R

2018-06-27 Thread Michael Sumner
Raster uses a (discretized) cosine-of-latitude approximati (popular amongst longlat map makers). QGIS uses a project to local equal area projection method or maybe some other approach. There's lots and f options, all that matters is what your work needs. Cheers, Mike On Wed, 27 Jun 2018, 22:14

[R-sig-Geo] Difference in area calculation between QGIS and R

2018-06-27 Thread Suncus Etruscus
Dear List, I am trying to use R ("sp" and "raster" packages) to calculate the area of several polygons (CRS of the shapefile EPSG: 4326 - WGS84). I used this line of code: shapefile_name$area_km2 <- area(shapefile_name)/100 However, when I used QGIS to calculate the area of the same

[R-sig-Geo] Fitting GWR for Panel Data in R

2018-06-27 Thread Arnold Salvacion via R-sig-Geo
Good day! Does anyone here have experience or code for fitting geographically weighted regression (GWR) for panel data. For example, I need to determine the effect of independent variable X1, X2, and X3 to Y which are all collected for T1 to Tn.  I have experience in fitting GWR for