search for: glg_ind

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

Did you mean: gl_in
2009 Jan 04
1
Lattice xyplot help please.
...tion. I would like to add text (p-value) in a 4 panels xyplot. I thought panel = function{} should work but I am not sure where I did it wrong. The error message from the following code is "Argument subscripts is missing with no default values" xyplot(GLG ~ PD | factor(TRT) , groups = GLG_ind,strip = strip.custom(style =4),ref = T, as.table=TRUE,data = splitPD, subscripts = TRUE,cex = 2, panel = function(x, y, pvalue,subscripts,...){ panel.xyplot(x,y,...); panel.abline(h = 51.95); grid.text(paste("p-value =", pvalue[subscripts]), .25, .15, gp = gpar(cex...