Add shock to shock object
add_shock(
shock,
variable,
value = NA,
rate = NA,
absolute = NA,
start = NA,
end = NA,
desc = ""
)updated shock object containing added shock
tibble from create_shock()
string variable name
numeric, an explicit value or values for the variable, will be extended with last value
numeric, multiplier to influence the original value of the variable
numeric, absolute value to influence the original value of the variable
numeric or date period number for the shock to take place, defaults to NA
numeric or date period number for the shock to take place, defaults to NA
string variable description