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

View source: R/design.R

verify_trtR Documentation

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


pseval documentation built on April 11, 2025, 5:43 p.m.