ip_growth_transform: Scale data frame values to match growth targets over any...

Description Usage Arguments Value

Description

Scale data frame values to match growth targets over any series

Usage

1
2
3
ip_growth_transform(datatable, target, series_start = "value",
  series_target = "growth", series_growth_over = "growth__over",
  sep = " + ", growth_distance = 1)

Arguments

datatable

A data frame of values.

target

A data frame of target growth rates over one or more dimensions. Should include an additional series to specify which series the growth are over.

series_start

The name of the series in datatable to be compared to the target.

series_target

The name of the target series containing growth rates.

series_growth_over

The name of the series in target specifying the series that are covered by the growth rates.

sep

Separator string to list multiple series in series_growth_over.

growth_distance

Number of lags between observations when applying growth rates.

Value

A data frame of target values for use in freeze_slice in ip_fit.


ryantimpe/ipfitr documentation built on May 14, 2019, 8:55 a.m.