Description Usage Arguments Author(s) Examples
Create shock(s) to add to a sfcr_scenario()
.
1 | sfcr_shock(variables, start, end)
|
variables |
A It is possible to add exogenous series a shock instead of constant variables. However, the length of such series must be exactly the same as the period of the shock (i.e., the difference between start and end). |
start |
An integer indicating the period when the shock takes place. |
end |
An integer indicating the period when the shock ends. |
João Macalós, joaomacalos@gmail.com
1 2 3 4 5 6 7 8 9 | sfcr_shock(
variables = sfcr_set(G_d ~ 30, W ~ 1.5),
start = 5,
end = 66)
sfcr_shock(
variables = sfcr_set(G_d ~ seq(30, 40, length.out=62)),
start = 5,
end = 66)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.