make_aggregated_table: Calulate the the aggregated values for each polygon

Description Usage Arguments

View source: R/make_aggregated_table.R

Description

This function will return a list of length n_years. With Either 12 (by = month) or 1 (by = year) elements per element

Usage

1
2
3
4
5
6
7
8
9
make_aggregated_table(
  paths,
  polygon,
  years,
  by,
  daily_fun,
  monthly_fun,
  return.list = FALSE
)

Arguments

by

either "year" or "month". If "year", the raster with the values for one year will be calculated and than the spatial aggregation (with the function aggre_fun) will be applied. If "month", the spatial aggregation will be applied after each month


MaThRk/rainfallR documentation built on Dec. 17, 2021, 2:14 a.m.