How loganhysen/timescapes works
timescape is an R package for computing temporal landscape metrics from binary time series and raster time stacks. Its main workflow accepts a time series, dispatches a requested metric, and returns a metric value; for raster input, it applies a metric through time for each cell and can first convert categorical classes to binary presence/absence. The README also documents benchmark and plotting capabilities. No source excerpts were provided, so the graph uses only README-documented relationships and does not infer internal calls or registry behavior.
Main entry points: registry.R Metric interface · raster_metric.R Per-cell metric · metrics_basic.R Basic metrics · metrics_structure.R Structure metrics
Components 11
Inputs and raster workflow
- Binary time series
- Raster time stack
- Class to presence
R/raster_metric.R - Per-cell metric
R/raster_metric.R
Temporal metrics
- Metric interface
R/registry.R - Basic metrics
R/metrics_basic.R - Structure metrics
R/metrics_structure.R
Benchmarking
- Benchmarking
R/benchmark_data.R - Benchmark plotting
R/plot_benchmark.R - Benchmark utilities
R/utils.runs.R
Other components
- Package user
Connections 11
- Package user → Binary time series: provides
README.md - Package user → Metric interface: requests metric
README.md - Metric interface → Basic metrics: calculates
README.md - Metric interface → Structure metrics: calculates
README.md - Package user → Raster time stack: provides
README.md - Raster time stack → Per-cell metric: applies through time
README.md - Per-cell metric → Metric interface: applies metric
README.md - Raster time stack → Class to presence: selects classes
README.md - Class to presence → Per-cell metric: converts to binary
README.md - Package user → Benchmarking: runs benchmark
README.md - Package user → Benchmark plotting: plots results
README.md