I have a list of 100 observation units and a sequence of dates:
unit <- c(1:100)
date <- seq.Date(as.Date("2012-01-01"),as.Date("2012-12-01"), by = "month")
I want to create a new dataframe with each observational unit having a time unit. For example:
Unit Date
1 "2012-01-01"
1 "2012-02-01"
1 "2012-03-01"
1 "2012-04-01"
................
100 "2012-01-01"
100 "2012-02-01"
100 "2012-03-01"
100 "2012-04-01"