View source: R/var_of_proportion.R
var_of_proportion | R Documentation |
Calculate the variance of a proportion. See Anderson and Finn (1996, p. 364, ISBN: 978-1-4612-8466-6)
var_of_proportion(p = NULL, n = NULL)
p |
a vector of proportions; each of the proportion values must be between 0 and 1 |
n |
a vector of sample sizes; number of observations used to calculate each of the percentage values |
var_of_proportion(p = 0.56, n = 400)
var_of_proportion(p = 0.5, n = 100)
var_of_proportion(p = 0.4, n = 50)
var_of_proportion(p = c(0.5, 0.9), n = c(100, 200))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.