classLUT: A function for developing Look-up Table (LUT) for the soil...

View source: R/classLUT.R

classLUTR 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

classCode, classnames

Examples

textrd=suitabinput["texture"]

LUT=classLUT(textrd,"texture")
LUT


soilassessment documentation built on July 9, 2023, 7:40 p.m.