ci.agree2(.05, 75, 70, 60, 45, 2)
# Should return:
# Estimate SE LL UL
# G1 0.8667 0.02880 0.6975 0.9481
# G2 0.5000 0.05590 0.2523 0.6852
# G1 - G2 0.3667 0.06289 0.1117 0.6089
Run the code above in your browser using DataLab