HP_project: Produces forecasts using the Hamilton-Perry Method

View source: R/HP_project.R

HP_projectR Documentation

Produces forecasts using the Hamilton-Perry Method

Description

Produces 5 year forecasts out to specified year

Usage

HP_project(
  df_pre = NULL,
  df_post = NULL,
  years_out = 20,
  cwr_df = NULL,
  ccr_df = NULL
)

Arguments

df_pre

data frame like object at time t

df_post

data frame like object at time t+5

years_out

int how many years out to forecast from t+5

cwr_df

df precalculated CWR values

ccr_df

df precalculated CCR values

Value

data frame object with projected values


nmmarquez/smoothHP documentation built on April 12, 2022, 8:04 a.m.