Skip to content
Prev 275418 / 398506 Next

Syntax Help for xyplot()

Rich,

you need to reorganize your data so that you have a single record (i.e. row) for each site/sampdate combination with the quant value for each of your params save in a column named by the param value (I don't remember all the param names so I used pn).  For example your first two lines should be collapsed into a single line, e.g.

site sampdate     TDS Cond SO4 p4 p5 p6 p7
BC-0.5 1996-06-02 530 NA   194 NA NA NA NA

if you have other lines for site/sampdate

 BC-0.5 / 1996-06-02

then you would use the quant values to fill in for Cond and the other paramenters.  Then your xyplot code should work.  Someone else will need to show you how to do that manipulation.

Dan

Daniel Nordlund
Bothell, WA USA