lucC_pred_evolve: Predicate Evolve

Description Usage Arguments Value Author(s) Examples

Description

Provide a predicate EVOLVE which evaluates as true when a location holds the class c_i, e.g. 'Forest', during the interval t_i, class c_j, e.g. 'Pasture', during the interval t_j and t_j is not necessarily immediately sequential of t_i. Return a matrix with values within defined interval

Usage

1
2
3
4
lucC_pred_evolve (raster_obj = NULL, raster_class1 = NULL,
time_interval1 = c("2001-01-01", "2001-01-01"), relation_interval1 = "equals",
raster_class2 = NULL, time_interval2 = c("2002-01-01", "2005-01-01"),
relation_interval2 = "contains", label = NULL, timeline = NULL)

Arguments

raster_obj

Raster. A raster stack with classified images

raster_class1

Character. Name of the first class of interest, such as 'Forest', to research

time_interval1

Interval. A first interval to verify if class is over or not

relation_interval1

Character. If a location HOLDS during all time interval 'equals' or can be appear in any times 'contains'. Default is 'equals'

raster_class2

Character. Name of the second class of interest, such as 'Pasture', to research

time_interval2

Interval. A second interval to verify if class is over or not

relation_interval2

Character. If a location HOLDS during all time interval 'equals' or can be appear in any times 'contains'. Default is 'contains'

label

Character Vector. All labels of each value of pixel from classified raster

timeline

Character. A list of all dates of classified raster, timeline

Value

Matrix with all states which holds during a time interval

Author(s)

Adeline M. Maciel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

c <- lucC_pred_evolve(raster_obj = rb_sits, raster_class1 = "Forest",
                      time_interval1 = c("2001-09-01","2001-09-01"),
                      relation_interval1 = "contains",
                      raster_class2 = "Pasture1",
                      time_interval2 = c("2002-09-01","2016-09-01"),
                      relation_interval2 = "contains",
                      label = label, timeline = timeline)
c


## End(Not run)

ammaciel/sits.LUC.Calculus documentation built on May 3, 2019, 9:36 p.m.