validate_Y {tehtuner}R 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.


[Package tehtuner version 0.3.0 Index]