Apologies once more, there was a slight error in our example. Here is a
correct version of how to color the points in qqmath according to another
variable.
qqmath(~ yield | variety, data = barley, groups=year,
auto.key=TRUE,
prepanel = function(x, ...) {
list(xlim = range(q
Thanks to Deepayan, I have a corrected version of how to color points in a
qqmath plot according to another variable. Using the barley data for a more
concise example::
qqmath(~ yield | variety, data = barley, groups=year,
auto.key=TRUE,
prepanel = function(x, ...) {
list(x
Having solved this problem, I am posting this so that the next time I search
for how to do this I will find an answer...
Using qqmath(..., groups=num) creates a separate qq distribution for each
group (within a panel). Using the 'col' or 'pch' argument does not
(usually) work because panel.qqmath
3 matches
Mail list logo