index.number.serie: Calculate an index number in serie

Description Usage Arguments Value Author(s) References Examples

View source: R/index.number.serie.R

Description

This function determines index numbers “in serie” for those cases with an only product.

Usage

1
index.number.serie(x, name, opt.plot = FALSE, opt.summary = FALSE)

Arguments

x

It is a vector containing that magnitude to be studied for a product. Thus, we have length(x) values of it.

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 TRUE or FALSE.

opt.summary

Logical option to indicate if a statistical summary of the index number is required. It takes the value TRUE or FALSE.

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.

Author(s)

A. Saavedra-Nieves, P. Saavedra-Nieves

References

Index Number (2008). In: The Concise Encyclopedia of Statistics. Springer, New York, NY. <doi:https://doi.org/10.1007/978-0-387-32833-1>

Examples

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)

IndexNumber documentation built on March 15, 2021, 5:08 p.m.