check_stratification_columns_available: Check whether stratification columns are available

View source: R/check_stratification_columns_available.R

check_stratification_columns_availableR Documentation

Check whether stratification columns are available

Description

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


ronkeizer/vpc documentation built on May 11, 2023, 11:09 p.m.