Function to count the number of values greater than 1 in a vector This function is used in the function Check_columns_for_double_rows to count duplicate values.

count_more_than_1(x)

Arguments

x

The vector to test

Value

Number of values greater than 1.

Examples

count_more_than_1(c(1, 1, 4))
#> [1] 1