dot-auto_strata: Detect VPC stratification variable automatically.

.auto_strataR Documentation

Detect VPC stratification variable automatically.

Description

Returns a named character vector suitable for vpcPlot's strata argument (length 0 or 1), or NULL when no stratification is warranted. ARM is preferred over SCENARIO when both are multi-valued.

Usage

.auto_strata(x)

Arguments

x

a data frame (typically std_campsis_tbl)

Value

a named character vector or NULL


campsis documentation built on Aug. 5, 2026, 9:07 a.m.