On 12/03/2012 03:27 PM, killerkarthick wrote:
Hi.... I have one data set with 20 variables. I want to find the length of each variables at a time. Please help me .. Thanks in advance............
Hi killerkarthick, This may do what you want: unlist(lapply(my_data_set,length)) if the data set is a list. Jim ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.