rela_year: Get the relative years for a 'gmon' object

Description Usage Arguments Value Examples

Description

Get the relative years for a "gmon" object.

Usage

1

Arguments

x

a gmon object.

Value

a vector.

Examples

1
2
3
4
5
num.mon <- -12 : 3
gm <- gmon(num.mon)
ry <- rela_year(gm)
df <- data.frame(num.mon, ry, as.character(gm))
print(df)

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