Description Usage Arguments Value
Returns a date frame with a frequency that
matches the target variable frequency (object@freq
)
1 | filter.data.by.frequency(df, object, predictor_freq)
|
df |
data.frame without NA's |
object |
nowcast |
predictor_freq |
character from ('d','w', 'm', 'q') If the target variable frequency and predictor frequency matches, returns original df.
If the target variable is quarterly and predictor is monthly, returns every third row
of df, ending with last df's row.
If the target variable is monthly and predictor is quarterly, repeats each df's row
three times.
If the predictor is daily or weekly and
the target variable is quarterly or monthly,
firstly for the df's last date defines day number in its quarter or months ( |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.