leading_digits(x = NULL, number = 1)x.x is a numeric vector of arbitrary length. Unlike other solutions, this function will work reliably with all real numbers.chi_square_benford; K_S_benford; Freedman_Watson_Usquare_benford; Chebyshev_dist_benford; Euclidean_dist_benford; J_S_avg_dev_benford; J_stat_squ_benford