diff --git a/R/slide-index.R b/R/slide-index.R index 2d6314c..30df1fe 100644 --- a/R/slide-index.R +++ b/R/slide-index.R @@ -133,8 +133,8 @@ #' #' # The first 16 slots are NULL because there is no possible way to #' # look back 19 days from the 16th index position and construct a full -#' # window. But on the 17th index position, `""2019-09-03"`, if we look -#' # back 19 days we get to `""2019-08-15"`, which is the same value as +#' # window. But on the 17th index position, `"2019-09-03"`, if we look +#' # back 19 days we get to `"2019-08-15"`, which is the same value as #' # `i[1]` so a full window can be constructed. #' df$i[16] - 19 >= df$i[1] # FALSE #' df$i[17] - 19 >= df$i[1] # TRUE diff --git a/man/slide_index.Rd b/man/slide_index.Rd index 73fefb9..20b0ea5 100644 --- a/man/slide_index.Rd +++ b/man/slide_index.Rd @@ -274,8 +274,8 @@ regr[16:18] # The first 16 slots are NULL because there is no possible way to # look back 19 days from the 16th index position and construct a full -# window. But on the 17th index position, `""2019-09-03"`, if we look -# back 19 days we get to `""2019-08-15"`, which is the same value as +# window. But on the 17th index position, `"2019-09-03"`, if we look +# back 19 days we get to `"2019-08-15"`, which is the same value as # `i[1]` so a full window can be constructed. df$i[16] - 19 >= df$i[1] # FALSE df$i[17] - 19 >= df$i[1] # TRUE