[R] Barplot and R 1.9.0
Michael Bibo
Michael_Bibo at health.qld.gov.au
Fri Apr 23 04:32:43 CEST 2004
I would like to preface this by saying that I have not been using R for long, and consider myself a beginner. But the more I use and learn R, the more impressed I am with both the 'product' itself, and the efforts of those developing it.
It has been noted (eg Duncan Murdoch, 15 April), that the barplot function in R 1.9.0, when used on a tabulated single factor, produces a plot only one bar wide, and seems to superimpose the other bars.
It may be useful for users to note that the barplot2 function from the 'gregmisc' package still works as barplot did in R 1.8.1.
Consider:
library(gregmisc)
x<-rep(1:3,20)
barplot(table(x))
barplot2(table(x))
for an example.
Michael Bibo
Queensland Health
michael_bibo at health.qld.gov.au
***********************************************************************************
This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error.
Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters.
If you are not the intended recipient(s), or if you have received this email in error, you are asked to immediately notify the sender by telephone or by return email. You should also delete this email and destroy any hard copies produced.
More information about the R-help
mailing list