powered by
Tied data
is_tied(x, ratio = 0.3, remove_NA = FALSE)
Logical
A numeric vector
Numeric (default: 0.3). The ratio threshold of being considred as tied-data. The value range from 0 to 1.
Logical (default: TRUE). Whether or not to remove NAs.
is_tied(c(1, 1, 2, 2, 2, 3, 4, 5)) #> TRUE
Run the code above in your browser using DataLab