Re: [R] Lines in dotchart & dotplot ?

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Tue, 12 Jun 2007 06:48:58 -0400 (EDT)


Thanks again. Both layouts look very usefull and certainly a lot better than I was getting on my own.

> On 6/11/07, John Kane <jrkrideau@yahoo.ca> wrote:
> >
> > --- deepayan.sarkar_at_gmail.com wrote:
> >
> > > On 6/9/07, John Kane <jrkrideau_at_yahoo.ca> wrote:
> > > > Is it possible to use dotchart or dotplot and
> set
> > > the
> > > > lines in such a way that they only extend from
> the
> > > > left y-axis to the data point?
> > >
> > > Yes (sort of) in dotplot at least. E.g.,
> > >
> > > dotplot(VADeaths, groups = FALSE, type = c("p",
> > > "h"))
> > > dotplot(VADeaths, groups = FALSE, type = c("p",
> > > "h"), origin = 0)
> > >
> > > -Deepayan
> > >
> >
> > Ah, that is quite nice, not exactly what I
> remember
> > from Cleveland but it should do quite nicely.
>
> You can do that too if you really want to:
>
> dotplot(VADeaths, groups = FALSE, type = c("p",
> "h"), origin = 0,
> panel = panel.xyplot, pch = 16, lty = 3, col
> = "black")
>
> -Deepayan



R-help_at_stat.math.ethz.ch 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. Received on Tue 12 Jun 2007 - 10:56:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Jun 2007 - 12:31:52 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.