classLUT {soilassessment} | R Documentation |
A function for developing Look-up Table (LUT) for the soil condition class map
Description
This function develops a Look-Up Table (LUT) for the class type map of soil condition. LUT is important map legends or maps re-classification.
Usage
classLUT(fgrid,indicator)
Arguments
fgrid |
Input classified map |
indicator |
The soil condition indicator of interest as contained in the input map for example, "texture", "salinity", etc. |
Details
The input raster map should contain only one band for the soil indicator for clear identification of the band.
Value
The output is a dataframe containing classes in the map and corresponding unique integers
Author(s)
Christian Thine Omuto
See Also
Examples
textrd=suitabinput["texture"]
LUT=classLUT(textrd,"texture")
LUT
[Package soilassessment version 0.2.6 Index]