nonTabBookSummary.NumericVariable: Prepare Numeric Content

View source: R/tabbook-additions.R

nonTabBookSummary.NumericVariableR Documentation

Prepare Numeric Content

Description

tabBook does not report an appropriate numeric summary without being provided with a multitable. So we "fake" a numeric summary by overwriting the structure of a categorical object.

Usage

## S3 method for class 'NumericVariable'
nonTabBookSummary(x, weighted = TRUE, num = 10, tz = "UTC", ...)

Arguments

x

A variable of class NumericVariable

weighted

Logical. Are these data weighted?

num

The number of verbatim responses to present as a sample. Defaults to 10.

tz

A timezone. Defaults to UTC.

...

Additional arguments passed to methods

Details

If data are weighted we display Weighted N instead of Unweighted N


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