[R] dot plot by group

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Oct 20 19:18:13 CEST 2010


On Mon, Oct 11, 2010 at 12:55 PM, casperyc <casperyc at hotmail.co.uk> wrote:
>
> And now I just wonder why the ' bty='n' ' won't work?
>
> I did
>
> dotplot(BATCH~RESPONSE,data=d,subset=Type=='SHORT',bty='n')
>
> and tried other bty parameters, none is working

As David says, "par" settings don't work in lattice (see 'Note' in ?Lattice).

Lattice doesn't have a "bty" equivalent (I don't think they make sense
for multipanel plots). But you might consider this as a starting
point:

dotplot(BATCH~RESPONSE,data=d,subset=Type=='SHORT',
        par.settings = list(axis.line = list(col = "transparent")))

-Deepayan



More information about the R-help mailing list