[R] How to change labels in a histogram

2008-07-08 Thread Lord Yo
Hi everyone I am trying to add a percent sign to my labels in a hist() plot. "labels = TRUE" gives me the values, but I don't know how to add the percent sign. I would prefer to annote the plot after drawing it, e.g. using text(), but don't know how to address the positions in a standard histogra

Re: [R] Lattice: Superpose bwplot and dotplot [newbie question]

2008-06-17 Thread Lord Yo
Stephen D. Weigand wrote: > > > y <- rnorm(100) > g <- factor(sample(c("g1", "g2"), size = 100, replace = TRUE)) > x <- factor(sample(c("A", "B"), size = 100, replace = TRUE)) > bwplot(g ~ y | x, >panel = function(x, y, ...) { > panel.dotplot(x, y, ...) > panel.bwplot

[R] Lattice: Superpose bwplot and dotplot [newbie question]

2008-06-16 Thread Lord Yo
Hello everyone I have dataset containing a monetary value (ABS) and two factors (Fct, Group). I am able to create useful using: bwplot(ABS~Group|Fct) and dotplot(ABS~Group|Fct) Question: What do I have to do to overlay the dotplot with the bwplot (same data set)? I've found a couple of posts

[R] Lattice: Superpose bwplot on dotplot [Newbie Question]

2008-06-16 Thread Lord Yo
Hello everyone I have dataset containing a monetary value (ABS) and two factors (Fct, Group). I am able to create useful using: bwplot(ABS~Group|Fct) and dotplot(ABS~Group|Fct) Question: What do I have to do to overlay the dotplot with the bwplot (same data set)? I've found a couple of posts