You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inctools/R/calibration_frr.R
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
#' @param recency_vars Variables to be used in determining recency outcomes
30
30
#' @param recency_params Vector of numeric parameters (e.g. thresholds) for determining recency according to the relevant rule
31
31
#' @param alpha Confidence level, default=0.05.
32
+
#' @param method Method for computing confidence interval on binomial probability (passed to binom::binom.confint). Default is Clopper-Pearson 'exact' method. Accepted values: `c("exact", "ac", "asymptotic", "wilson", "prop.test", "bayes", "logit", "cloglog", "probit")`.
32
33
#' @param debug Enable debugging mode (browser)
33
34
#' @details The package contains long form documentation in the form of vignettes that cover the use of the main fucntions. Use browseVignettes(package="inctools") to access them.
stop("Confidence interval method must be one of 'exact', 'ac', 'asymptotic', 'wilson', 'prop.test', 'bayes', 'logit', 'cloglog', 'probit'. See help of binom::binom.test() for further details.")
113
+
}
104
114
105
115
# check that subject id, time and recency variables exist
0 commit comments