check_equal_length: Check Length

Description Usage Arguments Value

View source: R/utils.R

Description

Check whether variables all have the same length

Usage

1
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


nikosbosse/scoringutils2 documentation built on Jan. 8, 2021, 12:12 p.m.