I am a beginner user of R as GIS. My main aim is detect only the upper (highest) edge between two classes (forest, non forest) trought of an elevational gradient.
To