check_same_length: Check that two specific list elements have the same vector...

Description Usage Arguments

View source: R/utils_validation.R

Description

Check that two specific list elements have the same vector length

Usage

1
check_same_length(obj, attr1, attr2, err_h, allow_null = FALSE)

Arguments

obj

The list object, that should be checked

attr1

First attribute to compare length with.

attr2

Second attribute to compare length with.

err_h

An error handler.

allow_null

A logical, defining whether the argument is allowed to be NULL.


a-maldet/readall documentation built on Dec. 18, 2021, 9:23 p.m.