validate_arm: Check if vector is valid as to be used as a treatment arm...

View source: R/validate_standard_inputs.R

validate_armR Documentation

Check if vector is valid as to be used as a treatment arm variable

Description

Check if vector is valid as to be used as a treatment arm variable

Usage

validate_arm(arm_vec)

Arguments

arm_vec

vector to be validated

Details

A validate error is returned if the vector is not a factor with a more detailed error message if any of the entries are empty strings


teal.modules.clinical documentation built on Aug. 22, 2025, 1:09 a.m.