The 'segmented' package in R doesn't seem to work with mixed linear models, and since I repeatedly used the same animals, I need to include 'Animal ID' as a random factor, so I need to do a mixed effects model which doesn't seem possible using 'segmented' in R. Does anyone know if there is a way I can do this in R?

Similar questions and discussions