[R] How to find the lenth of more than ten variables?

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Dec 3 11:45:30 CET 2012



On 03.12.2012 05:27, 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............

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

>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/How-to-find-the-lenth-of-more-than-ten-variables-tp4651751.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list