Re: [R] Plotting graph problem!!

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

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

> http://r.789695.n4.nabble.com/file/n3389613/Life_Expectancies_2008.csv
> 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(Life.Expectancies.at.Birth) 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

______________________________________________
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.
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive