X-Git-Url: https://git.auder.net/?p=talweg.git;a=blobdiff_plain;f=pkg%2FR%2FF_Persistence.R;h=754df07b18cde688641e38eb2ad07469ad26fe48;hp=ad834499d039a822dadd1a1e769dba611de8bde5;hb=c4c329f65e6e842917cdfbabff36fbca6a617d02;hpb=4f5204f064d37ba0ec2988ba16a7011d7f0a45cd diff --git a/pkg/R/F_Persistence.R b/pkg/R/F_Persistence.R index ad83449..754df07 100644 --- a/pkg/R/F_Persistence.R +++ b/pkg/R/F_Persistence.R @@ -1,7 +1,10 @@ #' Persistence Forecaster #' -#' Return the last centered (similar) day curve. -#' Inherits \code{\link{Forecaster}} +#' Look for the most recent similar day in the past, and return its corresponding curve. +#' "Similar day" means "same day in the week". +#' +#' @format R6 class, inherits Forecaster +#' @alias F_Persistence #' PersistenceForecaster = R6::R6Class("PersistenceForecaster", inherit = Forecaster,