View source: R/validate_input.R
validate_Trt | R Documentation |
Check if Trt is a valid input to tunevt
validate_Trt(data, Trt)
data |
a data frame containing a response, binary treatment indicators, and covariates. |
Trt |
a string specifying the name of the column of |
TRUE if Trt
is a valid input. Errors otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.