makeReclassifyMatrix: makeReclassifyMatrix creates a matrix to use for...

Description Usage Arguments Value Author(s)

View source: R/makeReclassifyMatrix.R

Description

makeReclassifyMatrix creates a matrix to use for reclassification of rasters

Usage

1
makeReclassifyMatrix(table, originalCol, reclassifiedTo)

Arguments

table

data.frame or data.table that has the original classificaton and the desired classification to replace the first.

originalCol

character. Column in the table that identifies the original classification.

reclassifiedTo

character. Column in the table that identifies the desired classification.

Value

Matrix to use for reclassification of rasters

Author(s)

Tati Micheletti


tati-micheletti/usefun documentation built on June 29, 2020, 9:31 a.m.