% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aftPenCDA.r
\name{BAR_threshold}
\alias{BAR_threshold}
\title{Internal BAR thresholding operator}
\usage{
BAR_threshold(resid, lambda, n)
}
\arguments{
\item{resid}{A scalar update quantity.}

\item{lambda}{A tuning parameter.}

\item{n}{Sample size used in the thresholding rule.}
}
\value{
A scalar thresholded value.
}
\description{
Computes the thresholding update used in the BAR penalty.
}
\keyword{internal}
