build_target_dist: Create Target Pair Distribution for Scale-Level Fit

View source: R/build_target_dist.R

build_target_distR Documentation

Create Target Pair Distribution for Scale-Level Fit

Description

Create Target Pair Distribution for Scale-Level Fit

Usage

build_target_dist(
  traits,
  total_pairs,
  equal_mixed_ratio = c(1, 1),
  allow_same_trait = FALSE
)

Arguments

traits

A character vector of unique trait names (e.g., c("O", "C", "E", "A", "N")).

total_pairs

Integer. The total number of pairs your test will generate.

equal_mixed_ratio

Numeric vector of length 2. The desired ratio of "equal" keyed pairs to "mixed" keyed pairs (e.g., c(1, 1) for 50/50 split).

allow_same_trait

Logical. Do we allow items measuring the same traits to be paired together?

Value

A flexible data frame containing target counts for the SA algorithm.


autoFC documentation built on July 14, 2026, 5:07 p.m.