On 12/6/07, Christopher Oezbek <[EMAIL PROTECTED]> wrote:
> Hi Lattice-Experts/Hi Deepayan,
>    I have been searching the archives for an answer to this, but am finally
> giving up:
>
> I am plotting stripplots above each other using
>
> stripplot(type ~ date, data = email)
>
> which looks exactely as I want (type is a factor with 8 levels). I
> addition I would now like to display for each stripplot a density curve.
>
>  From examples I would have thought I would need to do:
>
> stripplot(type ~ date2, data = email,
>            panel = function(x, y, ...) {
>              panel.stripplot(x, y, ...)
>              panel.densityplot(x, y, ...)
>            })

What examples? panel.stripplot and panel.densityplot have entirely
different expectations about what the y-range of the panel is going to
be, and they cannot be mixed.

Sounds like you want something like panel.violin (?panel.violin has an example).

-Deepayan

______________________________________________
R-help@r-project.org 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.

Reply via email to