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 April 4, 2025, 12:35 a.m.