Learn R Programming

radiant.data (version 1.3.12)

me: Margin of error

Description

Margin of error

Usage

me(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

Run this code
# NOT RUN {
me(rnorm(100))

# }

Run the code above in your browser using DataLab