check_dm_actarm_arm: Check DM where ARM is not equal to ACTARM

View source: R/check_dm_actarm_arm.R

check_dm_actarm_armR Documentation

Check DM where ARM is not equal to ACTARM

Description

This check looks for DM entries where ARM is not equal to ACTARM

Usage

check_dm_actarm_arm(DM)

Arguments

DM

Demographics SDTM dataset with variables USUBJID, ARM, and ACTARM

Value

Boolean value for whether the check passed or failed, with 'msg' attribute if the check failed

Author(s)

Ying Yuen

Examples


DM <- data.frame(USUBJID = 1:5,
                 ARM = c(letters[1:3], letters[5:6]),
                 ACTARM = letters[1:5],
                 stringsAsFactors = FALSE)

check_dm_actarm_arm(DM)


sdtmchecks documentation built on Sept. 11, 2024, 9:34 p.m.