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@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.

Reply via email to