R/rbms_organize_data.r
set_anchor.Rd
set_anchor Add Anchors of "zeros" at determined distance on each side of the monitoring season with specific weight (length), this function is used by ts_monit_season()
set_anchor(FirstObs, LastObs, AnchorLength = 7, AnchorLag = 7, TimeUnit = "d")
integer defining the start of the monitoring season - correspond to the day since
integer defining the end of the monitoring season - correspond to the day since
integer defining the number of days used as Anchor each side of the monitoring season
integer defining the number of days between the Anchor and the monitoring season
character defining the time unit used for the Anchor, can be 'd' for day or 'w' for week