monthly {timeSeries} | R Documentation |
Functions and methods dealing with special monthly
'timeSeries' objects.
countMonthlyRecords | Returns a series with monthly counts of records, |
rollMonthlyWindows | Returns start and end dates for rolling time windows, |
rollMonthlySeries | Rolls monthly a 'timeSeries' on a given period. |
countMonthlyRecords(x) rollMonthlyWindows(x, period = "12m", by = "1m") rollMonthlySeries(x, period = "12m", by = "1m", FUN, ...)
by |
a character string specifying the rolling shift composed by the
length of the shift and its unit, e.g. |
FUN |
the function to be applied. |
period |
[rollMonthlySeries] - |
x |
an object of class |
... |
arguments passed to other methods. |
NA
## Load Microsoft Daily Data Set: data(MSFT) ## Count Monthly Records - MSFT.CTS <- countMonthlyRecords(MSFT) MSFT.CTS