Description Usage Arguments Examples
Melt the month information of a zoomly
object into the index,
and return a "zoo
" object with the index of "yearmon
" class.
1 | melt_month(x)
|
x |
a zoomly object. |
1 2 3 4 5 6 7 8 9 | x <- matrix(1 : 20, nrow = 5)
zm <- zoomly(x, order.by = 1991 : 1995,
colattr = data.frame(month = c(2, 3, 5, 6)))
melt_month(zm)
x <- matrix(1 : 20, nrow = 5)
colAttr <- data.frame(month = c(2, 3, 5, 6), name = c(rep('xxx', 3), 'yyy'))
zc <- zoocat(x, order.by = 1991 : 1995, colattr = colAttr)
melt_month(as.zoomly(zc))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.