% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pvalue_helpers.R
\name{.jaccard}
\alias{.jaccard}
\title{Internal: Jaccard similarity of two sets}
\usage{
.jaccard(a, b)
}
\arguments{
\item{a}{Vector representing set A.}

\item{b}{Vector representing set B.}
}
\value{
Numeric scalar in \eqn{[0,1]} giving the Jaccard similarity.
}
\description{
Computes the Jaccard index \eqn{|A \cap B| / |A \cup B|} on unique values.
Returns 1 when both sets are empty.
}
\keyword{internal}
