How to analyze the data from 2*2 cross-over design trials?

Hello, I want to know how to use R to analyze the data from 2*2 cross-over trial? Which codes do I need to enter or which packages do I need to install? Could you help? Thank you very much!!

Hi @hejlin8,
Welcome to the RStudio Community Forum.

Google is your friend! Try searching for "2x2 cross-over trial analysis in R".

The slides at this link give some very nice explanation and code options:


Dear @DavoWW ,
That's great! :grinning:
Thanks a lot, cheers!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.