
Analyze temporal changes in geospatial data
Source:R/08-temporal-analysis.R
analyze_temporal_changes.RdAnalyze temporal changes in raster data including trend analysis, change detection, and seasonal patterns. Works with any time series data.
Usage
analyze_temporal_changes(
data_list,
dates = NULL,
region_boundary = NULL,
analysis_type = "trend",
output_folder = NULL
)Examples
if (FALSE) { # \dontrun{
# These examples require external data files not included with the package
# Analyze NDVI trends over time
ndvi_trend <- analyze_temporal_changes(
data_list = c("ndvi_2020.tif", "ndvi_2021.tif", "ndvi_2022.tif"),
dates = c("2020", "2021", "2022"),
region_boundary = "Iowa",
analysis_type = "trend"
)
# Detect land cover changes
land_changes <- analyze_temporal_changes(
data_list = land_cover_files,
dates = land_cover_dates,
analysis_type = "change_detection"
)
} # }