Allows finding the 'length' without knowledge of dimensionality.
len.Rd
Allows finding the 'length' without knowledge of dimensionality.
Examples
len(list(1,2,3))
#> [1] 3
len(c(1,2,3,4))
#> [1] 4
df<-data.frame(a=c(1,2,3),b=c(1,2,3))
len(df)
#> [1] 3