I am planning a study which involves 7 hospitals. three hospitals used  A for the treatment of a disease; and the remaining four hospitals used B. The aim of the study is to investigate the different efficacy of A and B. The outcome is the occurrence of outcome event E. 

Exposure A and B are clustered within hospitals and the sample size calculation may be influenced by this. Can you tell me is there any reference or materials discussing this issue? ideally, Can I make such calculations in R?

Similar questions and discussions