Displaying 1 result from an estimated 1 matches for "descev".
Did you mean:
descen
2005 Jan 17
1
Time line plot in R?
...quot;,"15:15:00")
temp<-rnorm(10)+seq(1,1.9,by=0.1)
co2<-rnorm(10)+seq(1,1.9,by=0.1)
df <-data.frame(date, time, temp, co2)
dateEvents<-c("2002/08/01","2002/08/02","2002/08/03","2002/08/07","2002/08/08","2002/08/09")
descEvents<-c("disaster1", "change1", "disaster2", "disaster3",
"change2", "change3")
dfEvents<-data.frame(dateEvents, descEvents)
dfEvents
df$datetime <- chron(dates=as.character(df$date),
times=df$time,format=c('y/m/d', '...