[R] Need help using lattice

PIKAL Petr
Mon, 08 Feb 2021 08:09:53 -0000

Hi

Please do not use HTML formating.
Please provide some toy data if you want to get reasonable help.

You could also look at ggplot package, e.g.

https://ggplot2.tidyverse.org/reference/facet_grid.html

Cheers
Petr

> -----Original Message-----
> From: R-help <r-help-bounces at r-project.org> On Behalf Of
Parkhurst, David
> F.
> Sent: Sunday, February 7, 2021 8:02 PM
> To: r-help at r-project.org
> Subject: [R] Need help using lattice
>
> I have a dataframe comprising a vector of E. coli concentrations, a vector
of
> months when the samples were taken, and a vector of sampled sites.  I?d
> like to produce a lattice with sites along the horizontal axis, and months
on
> the vertical.  Each site-month box would then contain concentrations
ranging
> along its x axis.
>
>
>
> I think this would use dotchart (or possibly stripchart) in the lattice.
I?ve
> been reading the lattice and xyplot documents and I?m overwhelmed.  I?d
> appreciate help in how to write the call.
>
>
>
> David
>
>
> 	[[alternative HTML version deleted]]