s="r-in"><span></span></span>
<span class="r-in"><span><span class="va">y_img</span> <span class="op">&lt;-</span> <span class="fu">ts_rasterize</span><span class="op">(</span><span class="va">y</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/graphics/image.html" class="external-link">image</a></span><span class="op">(</span><span class="va">y_img</span>,col<span class="op">=</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" cla