Learn R Programming

poputils (version 0.4.1)

check_no_overlap_colnums: Check that Colnum Vectors do not Overlap

Description

Given a named list of colnum vectors, like those produced by tidyselect::eval_select(), throw an error if there is an overlap.

Usage

check_no_overlap_colnums(x)

Value

TRUE, invisibly

Arguments

x

A named list of integer vectors.

See Also

Examples

Run this code
x <- list(arg1 = c(age = 1L),
          arg2 = c(gender = 4L, region = 5L))
check_no_overlap_colnums(x)

Run the code above in your browser using DataLab