m12: Smart modulo 12 for time aritmetics

Description Usage Arguments Value Author(s) See Also

View source: R/m12.R

Description

Calculates which month corresponds to the number x, smart modulo 12-wise.

Usage

1
m12(x)

Arguments

x

integer

Value

Returns an integer 1 through 12 for the corresponding month of a positeve integer x, starting with x=1 being january. Note that x=13 is also january...

Author(s)

A.M. Sajo-Castelli

See Also

vetools, diffmonths, tssum, diasdelmes, time2ym, ym2time, xts2ts.


vetools documentation built on May 30, 2017, 1:27 a.m.

Search within the vetools package
Search all R packages, documentation and source code