Learn R Programming

vetools (version 1.3-28)

diasdelmes: Sum of days

Description

This function returns the number of days in a sequence of months. Takes into account leap years.

Usage

diasdelmes(y, meses)

Arguments

y
integer, year from which to reference the months specified by meses
meses
a vector of length greater or equal to 1 specifying the months to sum

Value

returns the number of days specified in the months meses of the year y.

See Also

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