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(dates)
[1] 16481 16662 16754

Am I doing something wrong using unlist?

Many thanks,
David

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to