lens: similar to lengths except gets nrows for those items that...

lensR Documentation

similar to lengths except gets nrows for those items that have dimensions

Description

figure out length or nrows of a list if there are dimensions in the list element, find out the number of rows

Usage

lens(x, use.names = TRUE)

Arguments

x

A list

Value

A numeric vector of lengths of each list


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.