% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hypoAfrica.R \name{add.p.values} \alias{add.p.values} \title{Add statistical significance to df/dfRef difference using binomial distribution} \usage{ add.p.values(df, dfRef, var, timeVar = "visitid", nVar = "total") } \arguments{ \item{df}{data frame with target variable var, timeVar and count variable nVar} \item{dfRef}{a reference data frame of the same shape as df} \item{var}{the target variable} \item{timeVar}{variable indicating comparable visits} \item{nVar}{count variable} } \value{ data frame with var_p column of calculated signficance of difference (binom.test) and boolean var_s column notifying statistical significance at 0.05 level } \description{ Add statistical significance to df/dfRef difference using binomial distribution }