Description
This function calculates the number of times a pixel has changed during the analysed period. It returns a raster with the number of changes as pixel value and a table containing the areal percentage of every pixel value (number of changes).Usage
Arguments
The path for the Raster* directory or list of Raster* to be analysed.
Value
Returns a list containing two objects:- RasterLayer: A raster where each pixel value represents the number of times that pixel changed during the time series
- Table: A tibble with three columns:
PxValue: The pixel value (number of changes)Qt: The quantity of pixels with that number of changesPercent: The areal percentage of pixels with that number of changes
Details
The function works by:- Loading all raster layers from the specified path or list
- Comparing consecutive time steps to identify where changes occurred
- Summing the total number of changes for each pixel across all time intervals
- Computing summary statistics about the frequency of changes
Examples
See Also
summary_map()- Quantitative summary of a single categorical rastersummary_dir()- Summary of multiple raster parameters in a directory