Learn R Programming

rowr (version 1.1.3)

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

Description

Allows finding the 'length' without knowledge of dimensionality.

Usage

len(data)

Arguments

data
any R object

Examples

Run this code
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)

Run the code above in your browser using DataLab