data(IR_diabetes)
fit <- ic_np(cbind(left, right) ~ gender,
data = IR_diabetes)
# Stratifies by gender
# If only one group, okay to enter data as n x 2 matrix
plot(fit, col = c('blue', 'orange') )
Run the code above in your browser using DataLab