powered by
Margin of error for proportion
meprop(x, conf_lev = 0.95, na.rm = TRUE)
Input variable
Confidence level. The default is 0.95
If TRUE missing values are removed before calculation
Margin of error
# NOT RUN { meprop(c(rep(1L, 10), rep(0L, 10))) # }
Run the code above in your browser using DataLab