[R] Forall symbol with plotmath/grid

2007-07-18 Thread Michael Hoffman
I am trying to get the forall symbol (upside down "A") as part of the label of a lattice plot. Is there an easy way to do this? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:/

Re: [R] Lattice: vertical barchart

2007-07-10 Thread Michael Hoffman
Sundar Dorai-Raj wrote: > It seems that barchart.table doesn't allow the horizontal = FALSE > argument. With a slight modification to barchart.table this can be > accomplished. Thanks for supplying that. > Also, I don't get a warning with your original code using > R-2.5.1 and lattice 0.16-1.

[R] Lattice: vertical barchart

2007-07-10 Thread Michael Hoffman
barchart(Titanic, stack=F) produces a very nice horizontal barchart. Each panel has four groups of two bars. barchart(Titanic, stack=F, horizontal=F) doesn't produce the results I would have expected, as it produces this warning message: Warning message: y should be numeric in: bwplot.formula(x

Re: [R] Lattice: shifting strips to left of axes

2007-07-04 Thread Michael Hoffman
TRUE) > lab.gf <- frameGrob(layout=lab.layout) > for (i in seq_len(nlabs)) > { > lab.gf <- placeGrob(lab.gf, labs[[i]], row = i, col = 2) > } > lab.gf <- placeGrob(lab.gf, main.ylab, col = 1) > lab.gf > } Wow. I don't think I would

Re: [R] Lattice: shifting strips to left of axes

2007-07-03 Thread Michael Hoffman
[EMAIL PROTECTED] wrote: > On 7/2/07, Michael Hoffman <[EMAIL PROTECTED]> wrote: >> Consider this plot: >> >> xyplot(mpg ~ disp | cyl, mtcars, strip=F, strip.left=T, layout=c(1, 3), >> scales=list(relation="free"), >> par.set

[R] Lattice: shifting strips to left of axes

2007-07-02 Thread Michael Hoffman
s. Is this possible? Failing that, is it possible to remove the left axis and display it on the right instead, despite relation="free"? -- Michael Hoffman __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-he

Re: [R] Lattice: hiding only some strips

2007-06-23 Thread Michael Hoffman
[EMAIL PROTECTED] wrote: > On 6/22/07, Michael Hoffman <[EMAIL PROTECTED]> wrote: >> What I want is to draw strips at the very top of the plot and not to >> draw strips that are between panels. > > xyplot(mpg ~ disp | factor(cyl) * HP, mtcars, >par

Re: [R] Lattice: hiding only some strips

2007-06-22 Thread Michael Hoffman
Deepayan Sarkar wrote: > On 6/22/07, Michael Hoffman <[EMAIL PROTECTED]> wrote: >> I am using R 2.4.0 and lattice to produce some xyplots conditioned on a >> factor and a shingle. The shingle merely chops up the data along the >> x-axis, so it is easy to identify which

[R] Lattice: hiding only some strips

2007-06-22 Thread Michael Hoffman
the factor. Is this possible? I looked into calculateGridLayout() and it seems to me that there isn't an easy way to do it without rewriting that function (and others). Many thanks -- Michael Hoffman __ R-help@stat.math.ethz.ch mailing list

[R] Substituted arguments surviving multiple function calls

2005-08-23 Thread Michael Hoffman
tute() out of f1(), but then I can only call f1() through f2() or something that does the substitution for it. Is there a better way to do this? Thanks for any help you can offer. -- Michael Hoffman __ R-help@stat.math.ethz.ch mailing list https://stat