</a>
</h2>
<p>The more arguments you provide to the model creation functions, the
more complicated it is for the end user, but the more flexible the
model. It is suggested making several narrow usage models is better than
one complicated one.</p>
<p>For instance, you could modify the above model to allow the end user
to specify the metric, timespan and seasonality of the
decomposition:</p>
<div class="sourceCode" id="cb11"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">