pixelFate: Create or amend data to a 'pixelFateDT' object

Description Usage Arguments Value

Description

Create or amend data to a pixelFateDT object

Usage

1
2
3
4
5
6
pixelFate(
  pixelFateDT,
  fate = NA_character_,
  pixelsRemoved = 0,
  runningPixelTotal = NA_integer_
)

Arguments

pixelFateDT

A pixelFateDT data.table with 3 columns: fate, pixelsRemoted, and runningPixelTotal.

fate

A character string (length 1) describing in words the change

pixelsRemoved

A numeric indicating how many pixels were removed due to the fate.

runningPixelTotal

an optional numeric with new, running total. If not supplied, it will be calculated from the last row of pixelFateDT runningTotal minus the pixelsRemoved

Value

A pixelFateDT object, updated with one extra row.


PredictiveEcology/LandR documentation built on Jan. 24, 2021, 12:52 a.m.