Skip to content
Prev 27601 / 29559 Next

Area calculation of forest cover classes.

Hi,

Without knowing any details of what you did, the general procedure is:

Use your fitted Random Forest or SVM model to predict the class for
each pixel in your region of interest - the predict() function.
Use standard spatial data methods to aggregate the resulting spatial
data, or even standard non-spatial methods, since you know the pixel
size - perhaps aggregate() or even table().

Sarah
On Thu, Sep 12, 2019 at 3:30 AM Enoch Gyamfi Ampadu <egampadu at gmail.com> wrote: