chainedLaspeyres: Function to generate chained Laspeyres index

Description Usage Arguments Value Examples

View source: R/indices.R

Description

EXPECT MAJOR CHANGES

Usage

1
chainedLaspeyres(weights, exchangerates)

Arguments

weights

tibble with yearly weights where each row is a year and each column is the weight of a given country. The column names of the country weights must be equal to those of the exchangerates column names. In addition, a coulmn with years must be included, named year

exchangerates

tibble with monthly exchange rates where each row is a month and each column is the exchange rate of a currency. The column names of the currencies must be equal to those of the weights column names. In addition, a coulmn with months must be included, named date_start.

Value

tibble with dates and index

Examples

1
#Soon

mariuslarsson/touRism documentation built on Oct. 3, 2021, 8:30 p.m.