# NOT RUN {
library(utils)
data(co021)
co021.s <- common.interval(co021, type="series", make.plot=TRUE)
co021.y <- common.interval(co021, type="years", make.plot=TRUE)
co021.b <- common.interval(co021, type="both", make.plot=TRUE)
dim(co021)
dim.s <- dim(co021.s)
dim.s # the highest number of series
prod(dim.s) # (33 series x 288 years = 9504)
dim.y <- dim(co021.y)
dim.y # the highest number of years
prod(dim.y) # (27 series x 458 years = 12366)
dim.b <- dim(co021.b)
dim.b # compromise solution
prod(dim.b) # (28 series x 435 years = 12180)
# }
Run the code above in your browser using DataLab