Description Usage Arguments Value Author(s) References Examples
View source: R/index.number.serie.R
This function determines index numbers “in serie” for those cases with an only product.
1 | index.number.serie(x, name, opt.plot = FALSE, opt.summary = FALSE)
|
x |
It is a vector containing that magnitude to be studied for a product. Thus, we have |
name |
Chain of characters to indicate the name of the variable under study. |
opt.plot |
Logical option to indicate if a graphical descriptiony of the index number along the different stages is required. It takes the value |
opt.summary |
Logical option to indicate if a statistical summary of the index number is required. It takes the value |
Summary |
Statistical summary (optional) of the index number along the considered period. |
Index number |
Table containing the values of the index number for the considered stages. |
Graphical |
Graphical summary (optional) of the index number along the considered period. |
A. Saavedra-Nieves, P. Saavedra-Nieves
Index Number (2008). In: The Concise Encyclopedia of Statistics. Springer, New York, NY. <doi:https://doi.org/10.1007/978-0-387-32833-1>
1 2 | prices<-c(70,75,77,77,85,90,85,75,77,87,85,90,70,75,77,77,85,90)
index.number.serie(prices,"Prices",opt.plot=TRUE,opt.summary=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.