Using the Binarize package
Introduction | Methods in the package | Application | Quality assessment using statistical tests