Computes core inflation using the smoothed trimmed means method
core_ms(data, change, weight, code, date)
data | Dataframe object with inflation items data. |
---|---|
change | A string with the column name of the percentage change of the inflation items. |
weight | A string with the column name of the weight of the inflation items. |
code | A string with the column name of the code of the inflation items as provided in |
date | A string with the name of the date column. |
Calculated core inflation tibble.
Fernando da Silva <fernando@fortietwo.com>