diasdelmes: Sum of days

Description

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

Usage

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

Author(s)

A.M. Sajo-Castelli

See Also

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.