Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 231759
0 votes
1 answer
340 views

How to use raster::extract() with a multipolygon sf dataframe in R?

Now I want to extract the mean cell values for each polygon that overlaps a raster file with a resolution of 2x2m (many many cells) and only 1 band. … <- raster::extract(x=SOC_raster_2x2, y=invekos_shp,FUN=mean, na.rm=TRUE) Error in `[[<-.data.frame`(`*tmp*`, i, value = list(ID = c(1, 1, 1, 1, : Substitution has 161486089 lines, Data has 7077 …
user18791303's user avatar