Prices | R Documentation |
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
data(Prices)
priceIndexNum (Prices, prodID ="prodID", pervar ="year", pvar="price",
qvar ="quantity", base="2001", indexMethod =c("laspeyres", "paasche", "fisher"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.