Learn R Programming

matriz (version 1.0.1)

same_length: Check if two objects have the same length

Description

Compares lengths of two objects, handling special cases for lists and data frames.

Usage

same_length(x, y)

Value

Logical indicating if objects have same length

Arguments

x

First object to compare

y

Second object to compare