Skip to content
Prev 20552 / 20628 Next

problem running mixed model including a phylogeny suggested in vignette "Covariance structure"

It is the *levels* of the species factor that need to be ordered properly.

Adding

carnidat$species <- factor(carnidat$species, levels = rownames(A))

before fitting the model should work.

 I've added some more details to the vignette (since this is obviously
not clear enough yet!).
  I think  we should also consider automatically re-ordering in this case ...

On Thu, Mar 13, 2025 at 12:10?PM Pablo Inchausti
<pablo.inchausti.f at gmail.com> wrote: