[R] Summaries

Spencer Graves spencer.graves at pdf.com
Thu Dec 18 16:26:59 CET 2003


      If DF = a data.frame with 65000 rows and k columns, the following 
will do what I read in your question: 

      lapply(DF, table)

      See, e.g., Venables and Ripley, Modern Applied Statistics with S 
(Springer, pp. 33-34 in the 4th edition, 2002). 

      hope this helps. 

Perez Martin, Agustin wrote:

>Hello UseRs:
>
>Excuses for my english.
>I have a dataset with 65000 records and I'd like to make a summary where I
>can view all the values (with the number of times that it repeats) that
>there are each column of my dataset.
>I tried with summary( ), str( ), but nothing gives me the result that I am
>loking for.
>
>Thank you very much.
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>  
>




More information about the R-help mailing list