Re: [R] Plotting graph problem!!

From: David Winsemius <>
Date: Sat, 19 Mar 2011 10:33:19 -0400

On Mar 19, 2011, at 9:10 AM, andrew456 wrote:

> Life_Expectancies_2008.csv
> I am trying to plot a histogram base on the file i uploaded above. I
> am
> facing a trouble in sorting out the frequency of the life
> expectancies. I
> wanted to plot a graph of life expectancies at birth versus
> frequency,but i
> have no idea how to change the locations into frequencies taking the
> range
> of life expectancies at birth from 40 to 90. I tried using
> table( to show the frequencies of each
> number and
> I do not know how to continue.

You should show how you turned that data into an R object first. Then someone may offer a hint to take the next step in your homework.


David Winsemius, MD
West Hartford, CT

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 19 Mar 2011 - 14:36:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 19 Mar 2011 - 16:00:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive