Learn R Programming

vvauditor (version 0.7.0)

count_more_than_1: Count more than 1

Description

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)

Value

Number of values greater than 1.

Arguments

x

The vector to test

Examples

Run this code
count_more_than_1(c(1, 1, 4))

Run the code above in your browser using DataLab