Learn R Programming

packDAMipd (version 1.1.0)

check_treatment_arm: Function to return treatment arm

Description

Function to return treatment arm

Usage

check_treatment_arm(arm)

Value

0, if success -1, if failure

Arguments

arm

the arm of the trial

Examples

Run this code
check_treatment_arm("control")

Run the code above in your browser using DataLab