Skip to contents

Check whether stratification columns are available

Usage

check_stratification_columns_available(data, stratify, type = "observation")

Arguments

data

`data.frame` with observation or simulation data (or NULL to skip checking)

stratify

vector of stratification columns (or NULL to skip checking)

type

either `observation` or `simulation`

Value

TRUE or raise an error about the missing columns