Learn R Programming

normality (version 0.0.3)

is_tied: Tied data

Description

Tied data

Usage

is_tied(x, ratio = 0.3, remove_NA = FALSE)

Value

Logical

Arguments

x

A numeric vector

ratio

Numeric (default: 0.3). The ratio threshold of being considred as tied-data. The value range from 0 to 1.

remove_NA

Logical (default: TRUE). Whether or not to remove NAs.

Examples

Run this code
is_tied(c(1, 1, 2, 2, 2, 3, 4, 5))
#> TRUE

Run the code above in your browser using DataLab