diffmonths: Difference between two time-series

Description Usage Arguments Value Author(s) See Also

View source: R/diffmonths.R

Description

Calculates the difference in months of two time-series objects.

Usage

1
diffmonths(date1, date2)

Arguments

date1

objects of class "ts"

date2

objects of class "ts"

Value

Returns the number of months between the start of two class "ts" objects

Author(s)

A.M. Sajo-Castelli

See Also

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


vetools documentation built on May 2, 2019, 10:15 a.m.