[R] query pertains to dates

2006-04-03 Thread Amogh Deshpande
Hello, This query pertains to manipulation of dates in R. I am new to R and working on a time series data. I use the commands, REAL-19920101 (say) # 01/01/1992 year-floor(as.integer(REAL/1)) year [1] 1992 tmp-as.integer(REAL)-year*1 tmp [1] 101 month-floor(tmp/100) day-tmp-month*100

[R] query pertains to the application of funtion stl

2006-03-13 Thread Amogh Deshpande
Hello, This query pertains to the application of funtion stl I am new to R and working on a daily time series data which shows periodicity every 12 months.I use the commands, C-read.csv(C:/Charlotte.csv) # import data D-as.Date(as.character(C[,1]),format=%m/%d/%Y)