type specifies the type of confidence interval. If type is "two.sided", the returned confidence interval is (lower_ci, upper_ci). If type is "left", the returned confidence interval is (lower_ci, 1). And, finally, if type is "right", the returned confidence interval is (0, upper_ci)).