 class="va">powers</span> <span class="op">&lt;-</span> <span class="fu">vectorized_power_func</span><span class="op">(</span><span class="va">thetas</span><span class="op">)</span></span>
<span></span>
<span><span class="fu"><a href="https://rdrr.io/r/graphics/plot.default.html" class="external-link">plot</a></span><span class="op">(</span>y <span class="op">=</span> <span class="va">powers</span>, x <span class="op">=</span> <span class="va">thetas</span>, main <span class="op">=</span> <span class="st">"