Re: [R] Adding a line to barchart

2013-01-23 Thread Jonathan Greenberg
- project.org] On Behalf Of Jonathan Greenberg Sent: Tuesday, January 22, 2013 11:42 PM To: r-help Subject: [R] Adding a line to barchart R-helpers: I need a quick help with the following graph (I'm a lattice newbie): require(lattice) npp=1:5 names(npp)=c(A,B,C,D,E) barchart

Re: [R] Adding a line to barchart

2013-01-23 Thread S Ellison
I need a quick help with the following graph (I'm a lattice newbie): require(lattice) npp=1:5 names(npp)=c(A,B,C,D,E) barchart(npp,origin=0,box.width=1) # What I want to do, is add a single vertical line positioned at x = 2 that lays over the bars (say, using a dotted

Re: [R] Adding a line to barchart

2013-01-23 Thread PIKAL Petr
Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Jonathan Greenberg Sent: Wednesday, January 23, 2013 5:44 PM To: r-help Subject: Re: [R] Adding a line to barchart Great! This really helped! One quick follow-up

[R] Adding a line to barchart

2013-01-22 Thread Jonathan Greenberg
R-helpers: I need a quick help with the following graph (I'm a lattice newbie): require(lattice) npp=1:5 names(npp)=c(A,B,C,D,E) barchart(npp,origin=0,box.width=1) # What I want to do, is add a single vertical line positioned at x = 2 that lays over the bars (say, using a dotted line). How do

Re: [R] Adding a line to barchart

2013-01-22 Thread arun
, 2013 5:41 PM Subject: [R] Adding a line to barchart R-helpers: I need a quick help with the following graph (I'm a lattice newbie): require(lattice) npp=1:5 names(npp)=c(A,B,C,D,E) barchart(npp,origin=0,box.width=1) # What I want to do, is add a single vertical line positioned at x = 2 that lays

Re: [R] Adding a line to barchart

2013-01-22 Thread PIKAL Petr
...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Jonathan Greenberg Sent: Tuesday, January 22, 2013 11:42 PM To: r-help Subject: [R] Adding a line to barchart R-helpers: I need a quick help with the following graph (I'm a lattice newbie): require(lattice) npp=1:5