Helper function to take all information that has been passed through make_table to processes it. It takes the expanded ipw object and collects all relevant variables

table1_helper(
  data,
  var,
  treat = NULL,
  weight = NULL,
  tab_stat = "Mean",
  tab_stat2 = "SD",
  smd = F,
  smd_lower_limit = FALSE,
  round = 2,
  graph = NULL,
  colors = "Dark2"
)

Arguments

data

aaa

var

aaa

treat

aaa

weight

aaa

tab_stat

aaa

tab_stat2

aaa

smd

aaa

smd_lower_limit

aaa

round

aaa

graph

aaa

colors

aaa #return Returns a list object with the specified outputs #author Robert A. Overman