## Caluclating two indices by using two different package functions:
index1<-final_index(data=milk, start="2018-12",
end="2019-12",formula="walsh",interval=TRUE)
index2<-price_indices(milk,start="2018-12", end="2019-12",
formula="geks",window=13,interval=TRUE)
## Graphical comparison of these two indices
compare_indices_list(data=list(index1,index2),
names=c("Walsh index", "GEKS index"))
Run the code above in your browser using DataLab