Skip to content
Snippets Groups Projects
Commit 23f62b9b authored by Dennis Walvoort's avatar Dennis Walvoort
Browse files

replaced proj4string() by slot() (as advised by sp-authors in their vignette)

parent cd0c7769
Branches
Tags
No related merge requests found
......@@ -15,7 +15,7 @@ gridded(grd1) <- TRUE
grd2 <- grd1
# add projection attributes to grd2
proj4string(grd2) <- CRS("EPSG:4326")
slot(grd2, "proj4string") <- CRS("EPSG:4326")
# stratify both grids into 50 strata
strat1 <- stratify(grd1, nStrata = 50)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment