Create or amend data to a pixelFateDT
object
pixelFate(
pixelFateDT,
fate = NA_character_,
pixelsRemoved = 0,
runningPixelTotal = NA_integer_
)
A pixelFateDT
data.table
with 3 columns: fate
,
pixelsRemoted
, and runningPixelTotal
.
A character string (length 1) describing in words the change
A numeric indicating how many pixels were removed due to the fate
.
an optional numeric with new, running total. If not supplied,
it will be calculated from the last row of pixelFateDT
runningTotal
minus the
pixelsRemoved
A pixelFateDT
object, updated with one extra row.