From 2c5f673fd22bf83a24953f59d735fcde20f63d40 Mon Sep 17 00:00:00 2001
From: unknown <olivier.delaigue@ANPI1430.antony.irstea.priv>
Date: Tue, 25 Oct 2016 14:32:19 +0200
Subject: [PATCH] Adding a "TimeLag" argument

---
 R/SeriesAggreg.R    | 2 +-
 man/SeriesAggreg.Rd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/R/SeriesAggreg.R b/R/SeriesAggreg.R
index 599c4128..62bb75f7 100644
--- a/R/SeriesAggreg.R
+++ b/R/SeriesAggreg.R
@@ -1,4 +1,4 @@
-SeriesAggreg_new <- function(TabSeries, TimeFormat, NewTimeFormat, ConvertFun, YearFirstMonth = 01, TimeLag = 0, verbose = TRUE){
+SeriesAggreg_new <- function(TabSeries, TimeFormat, NewTimeFormat, ConvertFun, YearFirstMonth = 1, TimeLag = 0, verbose = TRUE){
   
   
   ##_Arguments_check
diff --git a/man/SeriesAggreg.Rd b/man/SeriesAggreg.Rd
index 41c79f3c..4e374374 100644
--- a/man/SeriesAggreg.Rd
+++ b/man/SeriesAggreg.Rd
@@ -4,7 +4,7 @@
 \title{Conversion of time series to another time step (aggregation only)}
 \usage{
 SeriesAggreg(TabSeries, TimeFormat, NewTimeFormat, ConvertFun,
-  YearFirstMonth = 1, verbose = TRUE)
+  YearFirstMonth = 1, TimeLag = 0, verbose = TRUE)
 }
 \arguments{
 \item{TabSeries}{[POSIXlt+numeric] dataframe containing the vector of dates and the time series values}
-- 
GitLab