| 123456789101112131415161718192021 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/hypoAfrica.R
- \name{add.conf.int}
- \alias{add.conf.int}
- \title{Add binomial confidence intervals to var, fraction estimates, evaluated over nVar participants}
- \usage{
- add.conf.int(df, var, nVar = "total")
- }
- \arguments{
- \item{df}{a data frame that contains var and nVar columns}
- \item{var}{variable to calculate CI for, should be a fraction 0..1}
- \item{nVar}{variable that contains number of participants}
- }
- \value{
- data frame with added var_low and var_high columns containing low and high CI95 values
- }
- \description{
- Add binomial confidence intervals to var, fraction estimates, evaluated over nVar participants
- }
|