Re: [R] Converting Character date to Dates in r

2022-09-28 Thread Jim Lemon
Hi Admire, Your attachment didn't get through, although CSV format should. The code you included seems a very roundabout way to extract a series of dates as character strings and as there is no assignment of return values in some lines, is unlikely to work. Perhaps if you send just a few of the ori

Re: [R] Converting Character date to Dates in r

2022-09-28 Thread Rui Barradas
Hello, Can you post sample data? Please post the output of dput(head(inflation.2$period)) Hope this helps, Rui Barradas Às 18:42 de 28/09/2022, Admire Tarisirayi Chirume escreveu: Hello, i hope this email finds you well. Kindly help me to format dates shown as character to dates using as.Dat

[R] Converting Character date to Dates in r

2022-09-28 Thread Admire Tarisirayi Chirume
Hello, i hope this email finds you well. Kindly help me to format dates shown as character to dates using as.Dates. Attached herewith is my data in excel csv format. The following is the r-code i have used in my analysis: setwd("Z:/2022/September/Inflation forecasts") inflation<-read.csv("Infl