powered by
Deflat deflates a current value variable into a constant value variable.
Deflat
Deflat(x, pervar, cvar, defl, base)
Deflat returns a data frame with one column:
The variable with constant values at base base
base
Data frame containing, at least, the characteristics (time, location, ...), the current value and the deflator variables.
Character string for the name of the factor variable with the characteristics.
Character string for the name of the numeric variable with the current values.
Character string for the name of the numeric variable with the index number used as deflator.
Character string for the name of the base characteristic.
Sindex, ComplexIN, priceIndexNum.
Sindex
ComplexIN
priceIndexNum
data(Depositos, package = "RcmdrPlugin.TeachStat") Deflat(Depositos, "year", "quantity", "G_IPC_2016", "2018")
Run the code above in your browser using DataLab