validate_Y: Check if Y is a valid input to tunevt

View source: R/validate_input.R

validate_YR Documentation

Check if Y is a valid input to tunevt

Description

Check if Y is a valid input to tunevt

Usage

validate_Y(data, Y)

Arguments

data

a data frame containing a response, binary treatment indicators, and covariates.

Y

a string specifying the name of the column of data contains the response.

Value

TRUE if Y is a valid input. Errors otherwise.


jackmwolf/tehtuner documentation built on June 10, 2025, 10:32 p.m.