-in"><span><span class="co"># Extract "rq" scores around sudden gains on "bdi" in the bysg dataset</span></span></span>
<span class="r-in"><span><span class="va">bysg_rq</span> <span class="op">&lt;-</span> <span class="fu">extract_values</span><span class="op">(</span>data <span class="op">=</span> <span class="va">bysg_rq</span>,</span></span>
<span class="r-in"><span>                          id_var_name <span class="op">=</span> <span class="st">"id_sg"</span>,</span></span>
<span class="r-in"><span>   