Displaying 1 result from an estimated 1 matches for "splitpd".
Did you mean:
splited
2009 Jan 04
1
Lattice xyplot help please.
...ught
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 = .8))}
)
I really appreciate your time to help me.
Best,
Haoda...