resultsObject: Generic Results Object

View source: R/tabbook-additions.R

resultsObjectR Documentation

Generic Results Object

Description

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

Usage

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


Crunch-io/crunchtabs documentation built on Jan. 31, 2023, 12:14 p.m.