How to add repeated measures in lm(e) ?

Hi @sophie_becking , remember put a reproducible example of data for better help.

FAQ: What's a reproducible example (`reprex`) and how do I create one?](FAQ: What's a reproducible example (`reprex`) and how do I create one?)

Check this links for ancova: