Learn R Programming

vetools (version 1.3-28)

m12: Smart modulo 12 for time aritmetics

Description

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

Usage

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...

See Also

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