Skip to content

How to find the lenth of more than ten variables?

3 messages · killerkarthick, Uwe Ligges, Jim Lemon

#
On 03.12.2012 05:27, killerkarthick wrote:
Within a data.frame, all columns have the same length that is given by 
nrow(). Looks like you have to rephrase your question so that we 
understand it....

Uwe Ligges
#
On 12/03/2012 03:27 PM, killerkarthick wrote:
Hi killerkarthick,
This may do what you want:

unlist(lapply(my_data_set,length))

if the data set is a list.

Jim