anno: Function for working with times provided as "years;months".

Description Usage Arguments Value Author(s) Examples

View source: R/anno.R

Description

Converts character strings of "years;months" to decimal numbers or, vice versa, decimal numbers to character strings of "years;months".

Usage

1
anno(x)

Arguments

x

Value

If x is a character value then the function returns a number. If x is a number then the function returns a character value.

Author(s)

Joost van de Weijer

Examples

1
2
anno("1;6") # returns 1.5
anno(1.5) # returns "1;6"

vdweijer/supply documentation built on June 28, 2021, 7:45 a.m.