I have the following code:
DATAFRAMEINPUT <- read.csv2("R:/2018_01_F2.csv", header=TRUE)
DATAFRAMEINPUT <- read.csv2("R:/2018_02_F2.csv", header=TRUE)
DATAFRAMEINPUT <- read.csv2("R:/2018_03_F2.csv", header=TRUE)
Instead of 2018_01 I want n-36, i.e., the 36th previous month.
Instead of 2018_02 I want n-35, i.e., the 35th previous month.
Instead of 2018_03 I want n-34, i.e., the 34th previous month.
I want to define a base month on the code and then count backwards 36 months.
I want to create a monthly routine program.
Can you help me writing the proper code?