# NOT RUN {
# compute E-value for leukemia example in VanderWeele and Ding (2017)
evalues.RR(0.80, 0.71, 0.91)
# you can also pass just the point estimate
evalues.RR(0.80)
# demonstrate symmetry of E-value
# this apparently causative association has same E-value as the above
evalues.RR(1 / 0.80)
# }
Run the code above in your browser using DataLab