I want to extract yearly data of M4 competition. For M3 and M1 data I extract "yearly" data using the following codes
library(Mcomp)
yearly_m1 <- subset(M1, "yearly")
yearly_m3 <- subset(M3, "yearly")
When I using following for the M4comp
library(M4comp)
yearly_m4 <- subset(M4, "yearly")
I get an error message. I am wondering how to extract yearly data of M4comp.