tabBooks: Create a tabBook

View source: R/tabBooks.R

tabBooksR Documentation

Create a tabBook

Description

Prepares the actual data for tabulation

Usage

tabBooks(
  dataset,
  vars,
  banner,
  weight = NULL,
  topline = FALSE,
  include_original_weighted = TRUE
)

Arguments

dataset

A crunch dataset name

vars

A character vector of var names that exist within the crunch dataset

banner

A banner object from banner

weight

A weighting variable passed to tabBook

topline

Logical identifying if this is a topline only

include_original_weighted

Logical, if you have specified complex weights should the original weighted variable be included or only the custom weighted version?


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