len: Allows finding the 'length' without knowledge of...

View source: R/row.r

lenR Documentation

Allows finding the 'length' without knowledge of dimensionality.

Description

Originally written for the row.r package by Craig Varrichio. Included here because the rowr package was discontinued. I use these functions in my packages

Usage

len(data)

Arguments

data

any R object

Examples

len(list(1,2,3))
len(c(1,2,3,4))
df<-data.frame(a=c(1,2,3),b=c(1,2,3))
len(df)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.