services example</a>.</p>
<p>The function transforms the data into the right shape, and performs
the CausalImpact model. The user can select the event date to examine,
the channel to test (response) and possible predictors to help the
model.</p>
<div class="sourceCode" id="cb27"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># response_dim is the channel to predict.</span></span>
<span><span class="co"># predictors help with forecast</span></span>
<span><span class="va"