Search code examples
rraster

How can i count the pixiel values at the same latitude in Raster Layer for R?


I have a NDVI(Normalized Differnce Vegetation Index) Raster object, now i want to count the pixiel values at the same latitude.Like, i want to know the pixel value in 30°N latittude.How can i do that in R?

But I find no function could do that in "Raster" or "terra" package.


Solution

  • The problem sloved.

    I find a question satisfied my request.It was an oversight on my part, not noticing. You can find the question in this and the answer is friendly.