Learn R Programming

datacheckr (version 0.2.0.9002)

check_unique: Check Unique

Description

Checks whether an object in unique (i.e. doesn't contain any duplicated elements).

Usage

check_unique(x, x_name = substitute(x))

Arguments

x
The object to check.
x_name
A string of the name of the object.

Value

Throws an informative error or returns an invisible copy of the object.