[R] How to add error bars to a line xyplot (lattice package)

Kevin Wright kw.stat at gmail.com
Wed Jan 28 16:21:59 CET 2015


Doh, can't believe I missed that.  Sorry Bert.

On Tue, Jan 27, 2015 at 5:08 PM, Bert Gunter <gunter.berton at gene.com> wrote:
> Well, the OP already referred to segplot.
>
> But, see, he shouldn't be doing this plot in the first place. Yes, I
> know it's fairly standard in science, but it's a bad idea (as are many
> others, like the infamous "dynamite plot"). If uncertainty intervals
> are desired, they should be model based, obtained,e.g. by the relevant
> predict() method.
>
> But this is OT for here, so I won't rant further.
>
> Cheers,
> Bert
>
> Bert Gunter
> Genentech Nonclinical Biostatistics
> (650) 467-7374
>
> "Data is not information. Information is not knowledge. And knowledge
> is certainly not wisdom."
> Clifford Stoll
>
>
>
>
> On Tue, Jan 27, 2015 at 2:56 PM, Kevin Wright <kw.stat at gmail.com> wrote:
>> See segplot in the latticeExtra package.
>>
>> Kevin
>>
>> On Mon, Jan 26, 2015 at 7:58 PM, Jun Shen <jun.shen.ut at gmail.com> wrote:
>>> Dear list,
>>>
>>> I have a couple of lines (superimposed) in an xyplot and just want to add
>>> error bars to each of the data point. It's been a while since this question
>>> was asked last time. But the segplot from latticeExtra is not straight
>>> forward. Just wonder if there is a better way to do this. Appreciate for
>>> any comment. Thanks.
>>>
>>> Jun
>>>
>>>         [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> 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.
>>
>>
>>
>> --
>> Kevin Wright
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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.



-- 
Kevin Wright



More information about the R-help mailing list