# NOT RUN {
# using variables
# lower tail
infer_ts_prop_test(treatment, treatment1, treatment2,
alternative = 'less')
# using groups
# lower tail
infer_ts_prop_group(treatment2, outcome, female,
alternative = 'less')
# using sample size and proportions
# lower tail
infer_ts_prop_calc(n1 = 30, n2 = 25, p1 = 0.3, p2 = 0.5, alternative = 'less')
# }
Run the code above in your browser using DataLab