Nothing
if(interactive()){
data(crtData)
######################## weighted ITT ##############################################
caceOutput<- caceCRTBoot(Posttest~ Prettest+ Intervention,
random="School",intervention="Intervention",
compliance = "Percentage_Attendance",nBoot=1000,data=crtData)
cace <- caceOutput$CACE
cace
Complier <- caceOutput$Compliers
Complier
### visualising CACE effect size
plot(caceOutput)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.