tails above).</p>
    <h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>

    <p>This function fits a phylogenetic logistic regression model using <code><a href='https://rdrr.io/pkg/phylolm/man/phyloglm.html'>phyloglm</a></code>.
The regression is repeated <code>n.intra</code> times. At each iteration the function generates a random value
for each row in the dataset using the standard deviation or error supplied and assuming a normal or uniform distribution.
To calculate m