As tabBook does not provide us with a way to create summaries for some variable types we are forced to create an object that bypasses the reformatVar function. Our goal is to use as much of the code infrastructure for theming purposes as possible while allowing the creation of new topline summary objects

resultsObject(x, top = NULL, weighted, body_values, body_labels, vector)

Arguments

x

A dataset variable

top

The top of the results object. NULL by default

weighted

Logical. Are these data weighted?

body_values

The values to present

body_labels

The labels to present

vector

The data vector