cast2zoomly: Cast a data frame to a 'zoomly' object

Description Usage Arguments Value Examples

Description

Cast a data frame to a "zoomly" object.

Usage

1

Arguments

x

a data frame containing a column named "month".

...

other arguments for cast2zoocat.

Value

a "zoomly" object.

Examples

1
2
3
4
df <- data.frame(year = rep(1991 : 1995, each = 24), month = rep(1 : 12, 10),
                 varname = rep(c('a', 'b'), each = 12), city = rep(1 : 3, each = 40),
                 value = 1 : 120)
cast2zoomly(df, index.var = 'year', value.var = 'value')

ran-ran/zoocat documentation built on May 26, 2019, 10:56 p.m.