I have a matrix containing means and CIs (lower and upper in two columns, so three columns for every data point) for several points. I have to build a graph of these means accompained by the CIs (as wiskers). No problems with making the graph of means, but I don't know how to introduce CIs. Can anybody advise? -- View this message in context: http://www.nabble.com/CI-wiskers-tp24646309p24646309.html Sent from the R help mailing list archive at Nabble.com.
mfreidin wrote:> > I have a matrix containing means and CIs (lower and upper in two columns, > so three columns for every data point) for several points. I have to build > a graph of these means accompained by the CIs (as wiskers). No problems > with making the graph of means, but I don't know how to introduce CIs. >xYplot in package Hmisc (not the uppercase Y) Dieter -- View this message in context: http://www.nabble.com/CI-wiskers-tp24646309p24646905.html Sent from the R help mailing list archive at Nabble.com.
I recently answered this (or, rather, basically the same) question in a thread with an example in it. I am trying to find it back. Just a sec ------------------------- cuncta stricte discussurus ------------------------- -----Urspr?ngliche Nachricht----- Von: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Im Auftrag von mfreidin Gesendet: Friday, July 24, 2009 11:08 AM An: r-help at r-project.org Betreff: [R] CI wiskers I have a matrix containing means and CIs (lower and upper in two columns, so three columns for every data point) for several points. I have to build a graph of these means accompained by the CIs (as wiskers). No problems with making the graph of means, but I don't know how to introduce CIs. Can anybody advise? -- View this message in context: http://www.nabble.com/CI-wiskers-tp24646309p24646309.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.
Here it is... http://www.nabble.com/plotting-confidence-intervals-td24482119.html Marc's answer is probably the way to go Daniel ------------------------- cuncta stricte discussurus ------------------------- -----Urspr?ngliche Nachricht----- Von: Daniel Malter [mailto:daniel at umd.edu] Gesendet: Friday, July 24, 2009 2:10 PM An: 'mfreidin'; 'r-help at r-project.org' Betreff: AW: [R] CI wiskers I recently answered this (or, rather, basically the same) question in a thread with an example in it. I am trying to find it back. Just a sec ------------------------- cuncta stricte discussurus ------------------------- -----Urspr?ngliche Nachricht----- Von: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Im Auftrag von mfreidin Gesendet: Friday, July 24, 2009 11:08 AM An: r-help at r-project.org Betreff: [R] CI wiskers I have a matrix containing means and CIs (lower and upper in two columns, so three columns for every data point) for several points. I have to build a graph of these means accompained by the CIs (as wiskers). No problems with making the graph of means, but I don't know how to introduce CIs. Can anybody advise? -- View this message in context: http://www.nabble.com/CI-wiskers-tp24646309p24646309.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.
mfreidin wrote:> I have a matrix containing means and CIs (lower and upper in two columns, so > three columns for every data point) for several points. I have to build a > graph of these means accompained by the CIs (as wiskers). No problems with > making the graph of means, but I don't know how to introduce CIs. > > Can anybody advise? >Hi mfreidin, The dispersion function in the plotrix package does this, and even handles those annoying situations when the CIs are very small and throw a "zero length arrow" error. Jim