We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 096db6a commit 9d11dc3Copy full SHA for 9d11dc3
1 file changed
content/tutorials/spatial_point_pattern/index.Rmd
@@ -34,8 +34,8 @@ The next step is to convert the dataset in to a `SpatialPoints` object with WGS8
34
35
```{r reproject}
36
library(sp)
37
-crs_wgs84 <- CRS("+init=epsg:4326")
38
-crs_lambert <- CRS("+init=epsg:31370")
+crs_wgs84 <- CRS(SRS_string = "EPSG:4326")
+crs_lambert <- CRS(SRS_string = "EPSG:31370")
39
coordinates(points) <- ~lon + lat
40
points@proj4string <- crs_wgs84
41
points_lambert <- spTransform(points, crs_lambert)
0 commit comments