://www.smi.ac.uk/beatriz-de-franciso
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] on behalf of
ilai [ke...@math.montana.edu]
Sent: 02 May 2012 04:14
To: Walmes Zeviani
Cc: r-help@r-project.org
Subject: Re: [R] error bars for a barchart
Hi
I have the following barchart to which I want to add error bars.
library(lattice)
barchart(Change~fTreat,groups=Process,change,
auto.key=list(points=FALSE,rectangles=TRUE),
panel=function(x, y,...){
panel.barchart(x,y,origin = 0,...);
Hi
I have the following barchart to which I want to add error bars.
library(lattice)
barchart(Change~fTreat,groups=Process,change,
auto.key=list(points=FALSE,rectangles=TRUE),
panel=function(x, y,...){
panel.barchart(x,y,origin = 0,...);
Hi,
I think the issue is not respecting the groups but finding the
x-location of the center of bars in panel.barchart(groups,...). Don't
know about the memisc package, but doesn't look like it provides an
easy solution. This is how I do it:
I have a repoducibe example here
http://ridiculas.wordpress.com/2011/11/23/media-e-desvio-padrao-de-muitas-variaveis-separado-por-grupos/
Sorry for it be in Portuguese.
Walmes.
==
Walmes Marques Zeviani
LEG (Laboratório de
Thank you for your example. I only skimmed it, but since both
solutions use nlevels and box.ratio it is no surprise we end up at the
same place (although I do think your g-median is nicer than my 3/4).
Thing is, I wouldn't call either of these simple... would be nice if
one could just query the
Henning Wildhagen wrote:
i want to plot gene regulation data in a lattice barchart. To illustrate
the problem i encounter, the following code uses the barleydataset:
#No, i tried to add error bars using the following code:
..
As Deepayan noted in
#
This is an interesting discussion on barchart (without error bars)
http://www.decisionsciencenews.com/2010/08/11/which-chart-is-better/
Dieter
--
View this message in context:
http://r.789695.n4.nabble.com/Error-bars-in-lattice-barchart-with-groups-tp3065864p3066860.html
Sent from the R
Dear R-users,
i want to plot gene regulation data in a lattice barchart. To illustrate
the problem i encounter, the following code uses the barleydataset:
library(lattice)
barley[[SD]] - 5
PLOT - barchart(data=barley, yield~variety|site, groups=year,origin=0,
as.table=TRUE,
Hi all,
I've read the emails of Dan, Deepayan and Sundar about adding error bars to
the lattice plots (
https://stat.ethz.ch/pipermail/r-help/2006-October/114883.html), but I still
have the problem when I want to adding error bars to barchart. I tried both
the solution of Deepayan and Sundar but
10 matches
Mail list logo