GIS: How to extract a land cover type from Corine Land Cover raster in R?