% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stats.R \name{get.contingency} \alias{get.contingency} \title{Construct a contingency table} \usage{ get.contingency(df, df1, var, keys) } \arguments{ \item{df}{data frame with entries selected by an outcome variable} \item{df1}{complementary data frame to df} \item{var}{variable to test dependency for} \item{keys}{possible values of var} } \value{ contingency table as a data frame, rows are keys, and columns are v for df and v1 for df1 } \description{ Construct a contingency table }