is_many2one: Test for many-to-one or one-to-one map between vectors

View source: R/is_many2one.R

is_many2oneR Documentation

Test for many-to-one or one-to-one map between vectors

Description

is_many2one tests whether there is a many-to-one map from the values in a vector x to the corresponding values in a vector y. is_one2one tests for a one-to-one map.

Usage

is_many2one(x, y, na.rm = T)

is_one2one(x, y, na.rm = T)

Arguments

x, y

Vectors of equal length.

na.rm

Should NA values be ignored? Default is TRUE.


bldavies/bldr documentation built on March 29, 2024, 10:22 a.m.