search for: newdateseri

Displaying 1 result from an estimated 1 matches for "newdateseri".

Did you mean: newdateseries
2012 Dec 10
1
Can somebody suggest how to achieve following data manipulation?
...following data: RawData <- matrix(1:101, nr = 1); colnames(RawData) <- c("ASD", as.character(as.yearmon(seq(as.Date("2012-03-01"), length.out = 100, by = "1 month")))); rownames(RawData) <- "XYZ" CutOffDate <- as.Date("2012-09-01") NewDateSeries <- as.character(as.yearmon(seq(CutOffDate, to = as.Date("2025-01-01"), by = "1 month"))) ResultMat <- matrix(NA, 1, length(NewDateSeries)) colnames(ResultMat) <- NewDateSeries rownames(ResultMat) <- "Result" RawData ResultMat Now I need to pass the el...