Displaying 2 results from an estimated 2 matches for "vindoggy".
2012 Nov 13
2
Can't format x axis on a stacked plot of a zoo object
As an example data set:
set.seed(1)
z.Date <- as.Date(paste(2003, 02, c(1, 3, 7, 9, 14), sep = "-"))
z <- zoo(cbind(left = rnorm(5), right = rnorm(5, sd = 0.2)), z.Date)
tt<-time(z)
fmt<-"%b-%d"
labs<-format(tt,fmt)
plot(z[,1], xlab = "Time", ylab = "")
If I plot the data and don't like the format of the x axis I can do this:
2012 Oct 01
3
merge.zoo returns unmatched dates
Sorry for the lack of reproducible data, but this seems to be a problem inherent to my dataset and I can't figure out where the issue is.
I have several data frames set up as a time series with identical POSIXct date formats. If I keep the original data in data frame format and merge them using base merge- everything is perfect and everyone is happy.
If I transform the data frames to zoo