anthrome_summary: Calculate anthrome summaries

View source: R/anthrome_summary.R

anthrome_summaryR Documentation

Calculate anthrome summaries

Description

A convenience function to create summaries of the total land area in each anthrome type at each time step, potentially subset by an additional variable.

Usage

anthrome_summary(anthromes, inputs, by = NULL)

hyde_summary(hyde, inputs, by = NULL)

Arguments

anthromes

A stars object containing the anthrome classification.

inputs

A stars object containing HYDE 3.2 fixed inputs.

by

a column in data by which to group the anthrome data before summary

hyde

A stars object containing HYDE 3.2 land use and population data.

Functions

  • hyde_summary: Summarise HYDE 3.2 population time series.

Examples

# global summary
anthrome_summary(anthromes_med, inputs_med)
# summary by regions
anthrome_summary(anthromes_med, inputs_med, by = regions)

# summarise hyde data
hyde_summary(hyde_med, inputs_med, by = regions)

nick-gauthier/anthromes-12k documentation built on June 26, 2022, 3:21 p.m.