Skip to contents

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.

Usage

count_more_than_1(x)

Arguments

x

The vector to test

Value

Number of values greater than 1.

See also

Other vector calculations: academic_period()

Examples

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