Description Usage Arguments Value Examples
Get the relative years for a "gmon
" object.
1 | rela_year(x)
|
x |
a |
a vector.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.