Skip to contents

Count the number of subjects and samples impacted by a "deletion flag" DELFN

Usage

sweet_disposition(
  data,
  subjid,
  group_vars,
  cnt_n_keeps = NULL,
  init_desc = "Concentration Records Received"
)

Arguments

data

a data frame that must include deletion flags called DELFN.

subjid

Subject Identifier such as USUBJID, or ID.

group_vars

grouping variables useful in disposition tables such as STUDY or STUDYID. If none are provided a default group="1" will be set

cnt_n_keeps

Deletion Flags DELFN that should be included in disposition table but do NOT remove subjects or rows.

init_desc

Initial description of records received default is "Concentration Records Received"

Value

A disposition table.

Examples

if (FALSE) { # \dontrun{
sweet_disposition(subjid = USUBJID,
group_vars = c(STUDY),
cnt_n_keeps = c(16,24)
)} # }