create_path: Creates the a single parameter vector.

View source: R/HelperFunctions.R

create_pathR Documentation

Creates the a single parameter vector.

Description

Creates vector with np+1 entries of iv (or optionally nv from period pfc onwards).

Usage

create_path(iv, pfc, nv, np)

Arguments

iv

initial value of parameter;

pfc

period of change (pfc = NA is a special entry! see examples.)

nv

new value of parameter (starting in period of change) (nv = NA is a special entry! see examples.)

np

total number of periods additional line to parameter np

Details

the "parameter path" refers to the series of parameter values along all np+1 periods

Examples

create_path(1, NA, NA, 5)
create_path(3, 5, 4, 10)

SebastianBehrens/SolowVariants documentation built on Oct. 11, 2023, 2:49 p.m.