>  hello, need help with R in converting this data frame i received into 
> quantmod.  
>
> Its a panel data set, (longitudinal or repeated measures) for an 
> econometrics project.   I need to convert this data frame to something 
> quantmod can use,  I would like access to all the time series 
> functions in R - plotting like in quantmod for example.  However, its 
> not open,high,low,close -  its
> just one data point per time increment. 
>
> i researched and this led me to xts, but i can't figure out how to 
> link the data set below to xts?  the as.Date is confusing - what is 
> as.Date(paste(DF$d, DF$b, DF$Y), "%d %b %Y"), i can't find any info on 
> what d, b, and Y are?  what happens if i needed by the minute data, 
> less than day.   
>
> data frame looks like below, date comes in as a factor variable and 
> the others as int.  I need to link the year, month,day to a time 
> class, or even the date below if possible, but its a Factor? 
>
> so any help or an example of converting panel data frames to quantmod 
> would be appreciated. 
>
> 'data.frame':    4048 obs. of  214 variables:
>  $ Store_nbr                       : int  177 177 177 177 177 177 177 
> 177 177 177 ...
>  $ year                            : int  2007 2007 2007 2007 2007 
> 2007 2007 2007 2007 2007 ...
>  $ month                           : int  9 9 9 9 9 9 9 9 9 9 ...
>  $ day                             : int  14 15 16 17 18 19 20 21 22 
> 23 ...
>  $ date                            : Factor w/ 506 levels 
> "01APR2008","01AUG2008",..: 224 241 258 275 292 309 326 343 360 377 ...

	[[alternative HTML version deleted]]

