R package for smoothed and continuous assignment testing (SCAT) of genetic samples