Top "Zoo" questions

zoo is an R package that provides an S3 class with methods for totally ordered indexed observations.

plotting multiple xts objects in one window

I have found some answers to this online but for some reason am interpreting incorrectly because I cannot get it …

r plot xts zoo
Convert Excel numeric to date

I have a vector of numeric excel dates i.e. date <- c(42963,42994,42903,42933,42964) The output am I expecting when …

r excel date zoo janitor
Unable to install zoo package (R)

I am trying to download the zoo package to work with time series using: install.packages("zoo") but I get …

r installation zoo
Replace missing value with previous value

Event,Time,Bid,Offer Quote,0.458338,9.77,9.78 Order,0.458338,NA,NA Order,0.458338,NA,NA Order,0.458338,NA,NA Quote,0.458363,9.78,9.79 Order,0.458364,NA,NA I have …

r zoo
What is the difference the zoo object and ts object in R?

I want to know the differences into use ts() or zoo() function.

r time-series zoo
How to remove a row from zoo/xts object, given a timestamp

I was happily running with this code: z=lapply(filename_list, function(fname){ read.zoo(file=fname,header=TRUE,sep = ",",…

r xts zoo
rollmean with dplyr and magrittr

Given the following data: set.seed(1) data <- data.frame(o=c('a','a','a','a','b','b','b',…

r zoo dplyr magrittr
converting zoo to dataframe

I converted a zoo time series into a data frame in R and the date became the index of the …

r time dataframe zoo
Aggregate by week in R

In R I frequently aggregate daily data (in a zoo) by month, using something like this: result <- aggregate(…

r aggregate zoo
Converting zoo to ts before forecasting

I am struggling to convert a zoo objects to a ts object. I have a huge data.frame "test" with …

r time-series zoo