Calculate the number of specified periods in a given time series like data object.
1 2 3 4 5 6 7 8
A time-based object
Essentially a wrapper to
endpoints with the appropriate
period specified; the resulting value derived from counting the
As a compromise between simplicity and accuracy, the results will always round up to the nearest complete period. So n**** - 1 will return the completed periods.
For finer grain detail one should call a higher frequency n**** function.
An alternative summary can be found with
The number of observations for the period type specified
Jeffrey A. Ryan
1 2 3 4 5 6 7