Learn R Programming

stacomiR (version 0.6.1)

fun_report_mig_interannual: statistics per time period

Description

statistics per time period

Usage

fun_report_mig_interannual(dat, year = NULL, timesplit = NULL)

Value

a data frame with mean, max, and min calculated for each timesplit

Arguments

dat

a data frame with columns ("bjo_annee","bjo_jour","bjo_labelquantite","bjo_valeur")

year

The year to exclude from the historical series (it will be plotted against the historical series)

timesplit

"week" "2 weeks" "month" as provided to seq.POSIXt, default NULL