This metric computes the 1-(ratio between the number of unique values to total data values) on number of rotations of the data, and returns the smallest value. If this value is large it means that there are only a few unique data values, and hence the distribution is discrete
sc_striped(x, y)
numeric vector
numeric vector
double
data("datasaurus_dozen_wide")
sc_striped(datasaurus_dozen_wide$v_lines_x,
datasaurus_dozen_wide$v_lines_y)
#> [1] 0.9
sc_striped(datasaurus_dozen_wide$dino_x,
datasaurus_dozen_wide$dino_y)
#> [1] 0.14