[R] How to obtain Frequency Tables for Histogram outputs and Frequency Polygons

From: Tan Hui Hui Jenny <medp9193_at_nus.edu.sg>
Date: Tue 12 Jul 2005 - 14:51:00 EST


Couple of questions:  

  1. How can I obtain the frequency tables for a histogram chart?
  2. Is there a short cut to obtain the frequency polygons directly without having to generate the frequency table and doing a line plot?

Thanks ina dvance for any reply.  

j.  

Example data:
0.3,0.229,0.218,0.211,0.207,0.21,0.212,0.232,0.312,0.289,0.486,0.475,0.274,0.478,0.284,0.477,0.281,0.29,0.29,0.32,0.28,0.404,0.489,0.406,0.267,0.456,0.443,0.457,0.411,0.444,0.401,0.468,0.309,0.425,0.312,0.3,0.464,0.457,0.442,0.469,0.423,0.403,0.432,0.379,0.361,0.37,0.47,0.374,0.387,0.381,0.311,0.257,0.381,0.162,0.229,0.221,0.25,0.164,0.368,0.367,0.332,0.165,0.152,0.478,0.489,0.482,0.167,0.164,0.164,0.15,0.149,0.368,0.366,0.361,0.359,0.359,0.364,0.364



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 12 14:54:38 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:30 EST