Re: [R] Bar Graph

2018-09-11 Thread AbouEl-Makarim Aboueissa
Dear Rui: thank you very much abou __ *AbouEl-Makarim Aboueissa, PhD* *Professor of Statistics* *Graduate Coordinator* *Department of Mathematics and Statistics* *University of Southern Maine* On Tue, Sep 11, 2018 at 2:24 PM Rui Barradas wrote: > Hello, > > Use

Re: [R] Bar Graph

2018-09-11 Thread AbouEl-Makarim Aboueissa
Dear Bert: thank you very much abou __ *AbouEl-Makarim Aboueissa, PhD* *Professor of Statistics* *Graduate Coordinator* *Department of Mathematics and Statistics* *University of Southern Maine* On Tue, Sep 11, 2018 at 2:47 PM Bert Gunter wrote: > Not quite -- he

Re: [R] Bar Graph

2018-09-11 Thread Bert Gunter
Not quite -- he wanted the frequencies not the counts. So something like this (using the adj argument to center the frequencies above each bar: bp <-barplot(Number.of.Death, names.arg=Cause.of.Death, main="Bar Graph for Death Data", ylab="Number of Deaths", xlab="Cause of Death", ylim = c(0,500)

Re: [R] Bar Graph

2018-09-11 Thread Rui Barradas
Hello, Use function text() with the return of barplot() as x value and Number.of.Death as y. Note that the limits of the y axis are not the automatic ones. bp <- barplot(Number.of.Death, names.arg=Cause.of.Death, main="Bar Graph for Death Data", ylab="Number of Death", xlab="Cause of

[R] Bar Graph

2018-09-11 Thread AbouEl-Makarim Aboueissa
Dear All: I do need your help on how to add frequency to bar plot on the top of each bar. here is the R code. *Number.of.Death <- c(432, 217,93, 34, 224)# Number of Death* *Cause.of.Death <- c("Heart disease", "Cancer", "Stroke", "Accidents", "Other") * *barplot(Number.of.Death,

Re: [R] Bar Graph

2013-11-13 Thread Keniajin Wambui
The serialno represents each individual in the data set.The total count of the serialno will represent the whole sample I want to do a graph to compare the total data (serialno) vs each of the remaining five variables yearly. i.e to show the total data (serialno) vs available data for one of the

Re: [R] Bar Graph

2013-11-13 Thread Jim Lemon
On 11/13/2013 07:20 PM, Keniajin Wambui wrote: The serialno represents each individual in the data set.The total count of the serialno will represent the whole sample I want to do a graph to compare the total data (serialno) vs each of the remaining five variables yearly. i.e to show the

Re: [R] Bar Graph

2013-11-12 Thread jwd
On Mon, 11 Nov 2013 18:02:19 +0300 Keniajin Wambui kiang...@gmail.com wrote: I am using R 3.0.2 on a 64 bit machine I have a data set from 1989-2002. The data has four variables serialno, date, admission ward, temperature and bcg scar. serialno admin_ward date_admn bcg_scar temp_axilla yr

[R] Bar Graph

2013-11-11 Thread Keniajin Wambui
I am using R 3.0.2 on a 64 bit machine I have a data set from 1989-2002. The data has four variables serialno, date, admission ward, temperature and bcg scar. serialno admin_ward date_admn bcg_scar temp_axilla yr 70162Ward2 11-Oct-89 y 38.9 1989 70163 Ward1

Re: [R] Bar graph with 2 Y axis

2012-03-16 Thread Jim Lemon
On 03/16/2012 09:24 AM, KAYIS Seyit Ali wrote: Dear R users, I need to draw a barplot with 2 Y axis. I have 3 days each of wich having 2 groups (and error bar for each of them). The height of the 3rd day is too tall compared to others. That's why I have to use a second Y axis for that. I am

[R] Bar graph with 2 Y axis

2012-03-15 Thread KAYIS Seyit Ali
Dear R users,   I need to draw a barplot with 2 Y axis. I have 3 days each of wich having 2 groups (and error bar for each of them). The height of the 3rd day is too tall compared to others. That's why I have to use a second Y axis for that. I am using  barplot2 function of gplots library (to