Hi R users
I am executing a RPART soil classification. The input data (trainning
data) have 8 soil classes.
I create the model with rpart, and then apply it to the spatial object. The
response are 8 rasters with the probability to be one of the 8 soils
classes.
How can I join the 8 rasters response into one, where I choose the bigger
probability, if this is geater than 0.7. If the bigger probability is less
than 0.7, I would like to leave the pixel as "confused" or something that
indicate the poor classification.
Maybe it is trivial, but I don't know how to do it.
Thanks for any help
--
________________________
Waldir de Carvalho Junior
Pedologia
Pesquisador
Embrapa Solos
[[alternative HTML version deleted]]