[R] Histogram from a table in R
Peter Alspach
Peter.Alspach at plantandfood.co.nz
Wed Apr 4 00:45:45 CEST 2012
Tena koe
Possibly barplot() is what you are after.
?barplot
HTH ....
Peter Alspach
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of gina_alessa
Sent: Wednesday, 4 April 2012 9:08 a.m.
To: r-help at r-project.org
Subject: [R] Histogram from a table in R
Hi all,
I am new in R. I am trying to make an histogram but I can't figure it out.
I have .cvs table with a lot of data that look like this: I already have the
frequency of each interval (Counts).
Interval Counts
00:19 0
10:19 3117
20:29 4500
30:39 2330.......
I want to make the histogram with that. At the y axis I want to have the
Counts and at x axis I want to have the intervals.
Thanks in advanced!!!
--
View this message in context: http://r.789695.n4.nabble.com/Histogram-from-a-table-in-R-tp4530175p4530175.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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.
The contents of this e-mail are confidential and may be subject to legal privilege.
If you are not the intended recipient you must not use, disseminate, distribute or
reproduce all or any part of this e-mail or attachments. If you have received this
e-mail in error, please notify the sender and delete all material pertaining to this
e-mail. Any opinion or views expressed in this e-mail are those of the individual
sender and may not represent those of The New Zealand Institute for Plant and
Food Research Limited.
More information about the R-help
mailing list