powered by
Check if Trt is a valid input to tunevt
validate_Trt(data, Trt)
TRUE if Trt is a valid input. Errors otherwise.
Trt
a data frame containing a response, binary treatment indicators, and covariates.
a string specifying the name of the column of data contains the treatment indicators.
data