This function prepares data for placement in tex. By taking the following actions:

reformatVar(var, banner_name, theme, proportions, banner_info, latex)

Arguments

var

A crunch variable

banner_name

A string identfying the name of the banner

theme

A theme object created by themeNew

proportions

Should proportions be displayed or counts? One of "proportions" or "counts"

banner_info

A meta data object from getBannerInfo

latex

A logical identifying if this code is for LaTex or Excel. If TRUE, LaTeX

Details

  • Adding totals_row

  • Adding weighted/un-weighted base rows

  • Placing table content appropriately