Learn R Programming

pseval (version 1.3.1)

verify_trt: Check that a variable is suitable for using as binary treatment indicator

Description

Checks for two classes and gives a warning message indicating which level is assumed to be 0/1

Usage

verify_trt(D)

Arguments

D

Vector that will be checked for 2-class labels