Ecoregions shapefiles: subsetting, extracting and summarizing data from raster

المشرف العام

Administrator
طاقم الإدارة
I am attempting to subset and project an ecoregions shapefile from : EPA ECOREGIONS my data set is found here: SHAPEFILES and RASTER When I run this code, two major problems occur: 1) I cannot get the subset of ecoregions to plot on top of my raster file and 2) I cannot extract the values (summary information) from the subset of ecoregions from the raster. Can anyone help with this?

require (raster) raster
 
أعلى