Re: [R] How to unlist Dates

2007-10-23 Thread Prof Brian Ripley
On Tue, 23 Oct 2007, Rees, David wrote: > Hi, > > I am trying to get a vector of dates that I can use for the xaxis in > matplot (e.g. axis.Date(1,dates) ) > > I have a list of dates ... e.g. > >> dates > [[1]] > [1] "2015-02-15" > > [[2]] > [1] "2015-08-15" > > [[3]] > [1] "2015-11-15" > > But w

[R] How to unlist Dates

2007-10-23 Thread Rees, David
Hi, I am trying to get a vector of dates that I can use for the xaxis in matplot (e.g. axis.Date(1,dates) ) I have a list of dates ... e.g. > dates [[1]] [1] "2015-02-15" [[2]] [1] "2015-08-15" [[3]] [1] "2015-11-15" But when I unlist it I "lose" the Dates and get numbers instead > unlist(da