set_missing_subjects_row_label: Set the label for the missing subjects row

View source: R/count_bindings.R

set_missing_subjects_row_labelR Documentation

Set the label for the missing subjects row

Description

Set the label for the missing subjects row

Usage

set_missing_subjects_row_label(e, missing_subjects_row_label)

Arguments

e

A count_layer object

missing_subjects_row_label

A character to label the total row

Value

The modified count_layer object

Examples


t <- tplyr_table(mtcars, gear) %>%
  add_layer(
    group_count(cyl) %>%
      add_missing_subjects_row() %>%
      set_missing_subjects_row_label("Missing")
  )
build(t)

Tplyr documentation built on May 29, 2024, 10:37 a.m.