validate_arm {teal.modules.clinical}R 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


[Package teal.modules.clinical version 0.10.0 Index]