Displaying 2 results from an estimated 2 matches for "adjresnd0".
2005 Feb 15
1
Trellis barchart, column display order issue
I have searched the archives and instructions high and low but have not
found what I need.
I have a dataframe named Data with columns:
AdjResND0 - the numeric result
Parameter - the classification (chemical name)
Sort - the order I want the chemical names to appear, with leading zeros
so all are the same length
Client.Name - the sample name
I am trying to generate a series of 1 page barcharts, one for each
sample. The dataframe has been so...
2005 Mar 02
1
Text in lattice Graphics outside plot area
...page of a multi-page
series of bar charts. The text need to appear in the upper left-hand
corner of the page, outside of the plot area. A watermark might be the
closest analogy to what I am after
This is what I have so far:
PData <- na.omit(subset(TData,Matrix == "Product"))
barchart(AdjResND0 ~ reorder(Compound, Sort) | Label , PData,
box.ratio = 0.8, ylab= ("Concentration (mg/kg)"),
layout = c(0,1), scales = list(x="free",y="free",rot=90,cex = 0.4,
axs = "i" ), panel=function(x,y,...) {
panel.barchart(x,y,...)
grid.text(...