Learn R Programming

radiant.data (version 0.8.1)

varprop: Variance for proportion

Description

Variance for proportion

Usage

varprop(x, na.rm = TRUE)

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation

Value

Variance for proportion

Examples

Run this code
# NOT RUN {
varprop(c(rep(1L, 10), rep(0L, 10)))

# }

Run the code above in your browser using DataLab