y1 <- c(32, 39, 26, 35, 43, 27, 40, 37, 34, 29)
y2 <- c(36, 44, 47, 42, 49, 39, 46, 31, 33, 48)
ci.ratio.cod2(.05, y1, y2)
# Should return:
# COD1 COD2 COD1/COD2 LL UL
# 0.1333333 0.1232558 1.081761 0.494964 2.282254
Run the code above in your browser using DataLab