sits_stack_transition_relabel: Relabel raster stack based on temporal transitions

Description Usage Arguments Author(s)

Description

This function updates categorical raster values (labels) based on the temporal transitions, assuming Class(t) = f(Class(t-1), Class(t)) subject to the initial condition Class(t=1) = Class(t=1)

Usage

1
2
sits_stack_transition_relabel(x, A, filename = "", progress = "text",
  parallel = TRUE, ...)

Arguments

x

raster stack object

A

transition matrix. This gives the possible transitions among classes. The first line and the first column of the table has the raster class followed by the class label, such that <class_number>.<class_label>. The rows are the Class(t) and columns Class(t-1), the cobination between a row (Class(t)) and a column (Class(t-1)) gives the updated class number.

filename

a character with the file name. Optional

progress

a character. See pbCreate. Default is 'text'

parallel

perform parallel processing. Default is TRUE

...

other arguments to pass to beginCluster and writeStart

Author(s)

Victor Maus, vwmaus1@gmail.com


luizassis/sits documentation built on May 30, 2019, 7:15 p.m.