Learn R Programming

zoocat (version 0.2.0.1)

rela_year: Get the relative years for a gmon object

Description

Get the relative years for a "gmon" object.

Usage

rela_year(x)

Arguments

x

a gmon object.

Value

a vector.

Examples

Run this code
# NOT RUN {
num.mon <- -12 : 3
gm <- gmon(num.mon)
ry <- rela_year(gm)
df <- data.frame(num.mon, ry, as.character(gm))
print(df)

# }

Run the code above in your browser using DataLab