check_batch: Check batch variable

View source: R/helpers.R

check_batchR Documentation

Check batch variable

Description

Check batch variable

Usage

check_batch(x, min_n_batch = 2)

Arguments

x

batch variable.

min_n_batch

min. number of batches (for MMUPHin functions to run).

Value

if no errors then the batch variables (factorized if not already)


biobakery/MMUPHin documentation built on March 30, 2024, 4:50 a.m.