Commit 1ca92f9d authored by Dorchies David's avatar Dorchies David
Browse files

fix(vignette): error on months call

Showing with 2 additions and 1 deletion
+2 -1
......@@ -15,6 +15,7 @@ knitr::opts_chunk$set(echo = TRUE)
```{r}
library(airGRiwrm)
library(lubridate)
```
......@@ -79,7 +80,7 @@ The user must at least define the following arguments:
```{r}
IndPeriod_Run <- seq(
which(InputsModel[[1]]$DatesR == (InputsModel[[1]]$DatesR[1] + months(12))), # Set aside warm-up period
which(InputsModel[[1]]$DatesR == (InputsModel[[1]]$DatesR[1] %m+% years(1))), # Set aside warm-up period
length(InputsModel[[1]]$DatesR) # Until the end of the time series
)
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment