Percentage coverage of soil classes.
PercentageCoverageSoilClasses(soilMap, ignoreColumns = NULL, removeZeros = TRUE)
A named numeric vector containing the percentage coverage of soil classes.
This function recognises the column containing soil classes (it assumes that the name of the column contains the string "code").
## Not run: ------------------------------------ # data("PlynlimonSUBCATCHMENTS") # data("PlynlimonSOIL") # # Clip soil map over Severn catchment # soilMap <- ClipSoilMap(soil = PlynlimonSOIL, # catchment = PlynlimonSUBCATCHMENTS[1,]) # PercentageCoverageSoilClasses(soilMap=soilMap, ignoreColumns = c(32, 33)) ## ---------------------------------------------