meprop: Margin of error for proportion

mepropR Documentation

Margin of error for proportion

Description

Margin of error for proportion

Usage

meprop(x, conf_lev = 0.95, na.rm = TRUE)

Arguments

x

Input variable

conf_lev

Confidence level. The default is 0.95

na.rm

If TRUE missing values are removed before calculation

Value

Margin of error

Examples

meprop(c(rep(1L, 10), rep(0L, 10)))


radiant.data documentation built on Oct. 16, 2023, 9:07 a.m.