search for: tp24528798p24529159

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

2009 Jul 17
1
Calculating the trading days
Hi R, I have two columns of date in a CSV file in the below format 29-Dec-06 25-Jan-07 29-Dec-06 25-Jan-07 29-Dec-06 25-Jan-07 2-Jan-07 25-Jan-07 2-Jan-07 25-Jan-07 2-Jan-07 25-Jan-07 I read in R using dat<-read.csv("Z:\\data.csv"). > class(dat[,1]) [1] "factor" So I use dat[,1]=as.Date(as.character(dat[,1]),"%d-%b-%YY") > class(dat[,1]) [1]