This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #' @title Wilson's confidence interval for complex survey designs | |
| #' @description Calculate Wilson's confidence interval for a proportion, | |
| #' with the effective sample size determined using a design-unbiased | |
| #' estimate of the complex survey design effect. | |
| #' | |
| #' @param x A formula, vector, or matrix. | |
| #' @param design A survey.design or svyrep.design object | |
| #' @param na.rm Should cases with missing values be dropped? | |
| #' @param level The confidence level required | |
| #' @param ... Additional arguments to pass on to \code{svymean()} |