Create a look-up table from a vector class
codes and class names. Removes duplicates and unwanted
classes, and orders the data.frame by class code.
Usage
aa_lut(code, name, remove = NULL, attributes = NULL)
Arguments
- code
numeric vector of class codes
- name
character vector of classes names
- remove
class codes to be removed from the lookup table
- attributes
data.frame of attributes to be added to the
lookup table. Should have the same number of rows as length(code).
Details
Create a lookup table