Description Usage Arguments Value Author(s)
Queries performed with the event function return a three-dimensional matrix (x, y, t) the count function performs a vector summation in time or space of these results, allowing for more tangible analyzes. The result can be a two-dimensional matrix (x, y) with the true count for each location or a table with the true count for each year. If applied in the classifications rasterbrick, it returns a table with the number of cells of each class and in each time instant.
1 | luccpl_count(rbrick, for_time_step = FALSE, metadata = NULL, dates = NULL)
|
rbrick |
S4. A spatiotemporal raster brick |
for_time_step |
Boolean. FALSE returns a single raster with sum of timeserie values (use for query result only). TRUE returns a table with histogram for each land use. |
metadata |
Character. A vector with the land use patterns of the input data |
dates |
Integer. A vector that represents the timeline |
- for_time_step = FALSE, returns a single raster, the value of each cell being the result of the sum of true values over time (only applicable to the query result raster_brick) - for_time_step = TRUE, returns a table with the number of cells of each class and in each instant of time. If applied to the rasterbrick result of the query, it returns a table with the true and false for each instant of time.
Carlos Alexandre Romani
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.