% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tsqca_core.R
\name{qca_bin}
\alias{qca_bin}
\title{Binary calibration helper for ThSQCA}
\usage{
qca_bin(x, thr)
}
\arguments{
\item{x}{Numeric vector.}

\item{thr}{Numeric scalar. Cases with \code{x >= thr} are coded as 1,
others as 0.}
}
\value{
Integer vector of 0/1 with the same length as \code{x}.
}
\description{
Converts a numeric vector into a crisp set (0/1) based on a threshold.
}
\keyword{internal}
