qca_bin: Binary calibration helper for ThSQCA

View source: R/tsqca_core.R

qca_binR Documentation

Binary calibration helper for ThSQCA

Description

Converts a numeric vector into a crisp set (0/1) based on a threshold.

Usage

qca_bin(x, thr)

Arguments

x

Numeric vector.

thr

Numeric scalar. Cases with x >= thr are coded as 1, others as 0.

Value

Integer vector of 0/1 with the same length as x.


ThSQCA documentation built on Sept. 26, 2026, 5:07 p.m.