-scenario">Shock scenario<a class="anchor" aria-label="anchor" href="#shock-scenario"></a>
</h3>
<p>With <code>godley</code> package you can simulate how shocks affect
the economy (specifically, how they impact the base scenario).</p>
<p>In this example, we introduce an increase in government
expenditures.</p>
<p>First, initialize an empty shock object:</p>
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># Create empty shock</span></span>