data_inventory_data: Create a summary of endpoint data

View source: R/data_inventory_table.R

data_inventory_dataR Documentation

Create a summary of endpoint data

Description

Create a summary of endpoint data

Usage

data_inventory_data(
  data,
  by,
  panel = by,
  all_name = "all",
  summarize_all = TRUE,
  stacked = FALSE,
  ...
)

Arguments

data

the data frame to summarize; the user should filter or subset so that data contains exactly the records to be summarized; pmtables will not add or remove rows prior to summarizing data

by

The outer grouping variable; may be character or quosure.

panel

The panel grouping variable; may be character or quosure.

all_name

a name to use for the complete data summary

summarize_all

if TRUE then a complete data summary will be appended to the bottom of the table when stacked is FALSE.

stacked

If TRUE, then independent summaries are created by outer and included in a single table (see examples).

...

passed to subsequent summary functions


metrumresearchgroup/pmtables documentation built on Dec. 22, 2024, 1:34 a.m.