Description Usage Arguments Value Author(s) Examples
View source: R/lucC_predicates_raster.R
Provide a predicate HOLDS which evaluates as true when a class c_i
,
e.g. 'Forest', holds uring the interval t_i
. Return a matrix with values within
defined interval
1 2 3 |
raster_obj |
Raster. A raster stack with classified images |
raster_class |
Character. Name of the class of interest, such as 'Forest', to research |
time_interval |
Interval. A time interval to verify if class is over or not |
relation_interval |
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 |
Matrix with all states which holds during a time interval
Adeline M. Maciel
1 2 3 4 5 6 7 8 9 | ## Not run:
a <- lucC_pred_holds(raster_obj = rb_sits, raster_class = "Pasture",
time_interval = c("2001-09-01","2005-09-01"), relation_interval = "contains",
label = label, timeline = timeline)
a
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.