MATLAB and R code implementing the adaptive estimator, its soft-thresholding approximation, and their risk limited variants.