validate_Y {tehtuner} | R Documentation |
Check if Y is a valid input to tunevt
validate_Y(data, Y)
data |
a data frame containing a response, binary treatment indicators, and covariates. |
Y |
a string specifying the name of the column of |
TRUE if Y
is a valid input. Errors otherwise.