get_pyp {IndexNumberTools}R Documentation

Get pyp indices

Description

Computes the pyp index series from a chain-linked series.

Usage

get_pyp(x, x_a = NULL)

Arguments

x

(ts) Chain-linked series with annual overlap.

x_a

(ts) Annual chain-linked series. If not given, it's computed by taking the average of each year.

Details

The time series should start at (y,1) where y is any year.

Value

The pyp series.

Examples

get_pyp(gdp_volume)


[Package IndexNumberTools version 1.1 Index]