R/utils.R
prop_adj.Rd
Proportion, adjusted for zero- and one- inflation (Gelman et al. 2020)
prop_adj(x, n)
x | Number of successes |
---|---|
n | Number of tries |
Gelman A, Hill J, Vehtari A (2020). Regression and other stories. Cambridge University Press.