validate_p_reps: Check if p_reps is a valid input to tunevt

View source: R/validate_input.R

validate_p_repsR Documentation

Check if p_reps is a valid input to tunevt

Description

Check if p_reps is a valid input to tunevt

Usage

validate_p_reps(data, p_reps)

Arguments

data

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

p_reps

the number of permutations to run.

Value

TRUE if p_reps is a valid input. Errors otherwise.


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