search for: normtoedge_dataset

Displaying 1 result from an estimated 1 matches for "normtoedge_dataset".

2008 Aug 26
1
lattice: plotting an arbitrary number of panels, defining arbitrary groups
...aspect = 1.0, subscripts=TRUE, panel = function(x,y,subscripts,...) { if(panel.number() == 1) panel.superpose(x=dataSet$Detector,y=dataSet$Value,1:nrow(dataSet),groups=dataSet$Pollutant); if(panel.number() == 2) panel.superpose(x=dataSet$Detector,y=dataSet$Value,1:nrow(dataSet),groups=normToEdge_dataSet$Class); } ) Although the panel labels indicate that only one type of pollutant is displayed in each, I've instead forced all of the data to be plotted in both. The first panel shows two colors, grouped by pollutant, the second shows one color, grouped by class. Here's where the prob...