powered by
Data on the sold quantity and sale price of several products through some years.
It is used as an example for the use of the Price index window of the RcmdrPlugin.TeachStat package
data("Prices")
A data frame with 15 observations on the following 4 variables.
year
a factor representing the year
prodID
a factor with the ID of the products
price
the sale price
quantity
the sold quantity
# NOT RUN { data(Prices) priceIndexNum (Prices, prodID ="prodID", pervar ="year", pvar="price", qvar ="quantity", base="2001", indexMethod =c("laspeyres", "paasche", "fisher")) # }
Run the code above in your browser using DataLab