qca_bin: Binary calibration helper for TSQCA

View source: R/tsqca_core.R

qca_binR Documentation

Binary calibration helper for TSQCA

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.


TSQCA documentation built on Feb. 18, 2026, 5:06 p.m.