У меня есть следующие временные ряды:Выберите диапазон времени от зоопарка времени серии
library (zoo)
ts1 <- "f,c
1,19/11/2014 12:00,0.01
2,19/11/2014 13:00,0.01
3,20/11/2014 15:00,0.01
4,20/11/2014 16:00,0.01
5,20/11/2014 17:00,0.01
6,20/11/2014 19:00,0.01
7,20/11/2014 22:00,0.20
8,20/11/2014 23:00,0.03
9,21/11/2014 16:00,0.01
10,21/11/2014 17:00,0.01"
z <- read.zoo(text = ts1, tz = "", format = "%d/%m/%Y %H:%M", sep = ",")
Я хотел бы создать новый зоопарк - z1
, что будет подмножество г, который будет включать в себя диапазон времени 20/11/2014 15:00
до 20/11/2014 23:00
. Он будет включать в себя следующее:
3,20/11/2014 15:00,0.01
4,20/11/2014 16:00,0.01
5,20/11/2014 17:00,0.01
6,20/11/2014 19:00,0.01
7,20/11/2014 22:00,0.20
8,20/11/2014 23:00,0.03
ЗАКАНЧИВАТЬ зоопарк :: Окно – chinsoon12