Skip to contents

Use this function to calculate the standard deviation of a proportion (e.g. rate). The standard deviation is a measure of spread that represents how far the population proportion is from the sample proportions on average.

Usage

prop_sd(num, denom)

Arguments

num

This is the numerator of the proportion.

denom

This is the denominator of the proportion.

Value

The standard deviation of a proportion.

Examples

prop_sd(5,20)
#> [1] 0.09682458