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

William Revelle lists at revelle.net
Tue Jan 27 17:09:08 CET 2015


You might want to look at the examples in error.bars.by  in the psych package.

Bill 

> On 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.
> 

William Revelle		           http://personality-project.org/revelle.html
Professor			           http://personality-project.org
Department of Psychology   http://www.wcas.northwestern.edu/psych/
Northwestern University	   http://www.northwestern.edu/
Use R for psychology             http://personality-project.org/r
It is 3 minutes to midnight	   http://www.thebulletin.org



More information about the R-help mailing list