Learn R Programming

scoringutils (version 0.1.7.2)

check_equal_length: Check Length

Description

Check whether variables all have the same length

Usage

check_equal_length(..., one_allowed = TRUE)

Arguments

...

The variables to check

one_allowed

logical, allow arguments of length one that can be recycled

Value

The function returns `NULL`, but throws an error if variable lengths differ