[R] dotchart ordering problem

Zenonn87 zsolt.tarcai at hotmail.com
Sat Oct 20 16:51:46 CEST 2012

I've got another problem. 
What if I have another dotchart with same categories, but one of the data
are missing (control A)??
So I want to leave out from the dotchart. In this case in the control
category should have only one dotline, because the other one is empty. Or
mark somehow that it's missing, destroyed, etc. 

On the same example:
x = c(39, NA, 23, 35, 30, 26, 30, 30, 29, 29, 26, 29, 34, 33) 
y = c("Control", "DMSO", "0,1 mg/L", "0,3 mg/L", "1 mg/L", "3 mg/L", "10
a = matrix(data= x, nrow=2) 
rownames(a) = c("A","B"); colnames(a) = y 
dotchart(a, main="Dotchart", xlim=c(0,50))

View this message in context: http://r.789695.n4.nabble.com/dotchart-ordering-problem-tp4646038p4646856.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list