 <span class="dv">1</span><span class="op">:</span><span class="dv">9</span>)], <span class="dt">na.rm =</span> <span class="ot">TRUE</span>)
t1<span class="op">$</span>phq9 &lt;-<span class="st"> </span><span class="kw">rowSums</span>(t1[<span class="kw">paste0</span>(<span class="st">&quot;phq&quot;</span>, <span class="dv">1</span><span class="op">:</span><span class="dv">9</span>)], <span class="dt">na.rm =</span> <span class="ot">TRUE</span>)

<span class="co"># re-save baseline data ------------------