span class='no'>y</span>, <span class='no'>x</span>, <span class='no'>x_sd</span>)

<span class='co'># Run phylogenetic logistic regression accounting for intraspecific variation:</span>
<span class='no'>intra_glm</span> <span class='kw'>&lt;-</span> <span class='fu'>intra_phyglm</span>(<span class='no'>y</span>~<span class='no'>x</span>,<span class='kw'>Vx</span> <span class='kw'>=</span> <span class='st'>"x_sd"</span>,<span class='kw'>data</span> <span class='kw'>=</span> <span class='no'>dat</span>,<span