"op">&lt;-</span> <span class="st">"Type 2"</span></span>
<span><span class="va">df</span><span class="op">$</span><span class="va">new_colour</span><span class="op">[</span><span class="va">df</span><span class="op">$</span><span class="va">Source</span> <span class="op">==</span> <span class="st">"Zostera"</span><span class="op">]</span> <span class="op">&lt;-</span> <span class="st">"Type 1"</span></span>
<span></span>
<span><span class="co"># And create the plot</span></span>
<span><span class="fu"><a h