The problem is that xyplot tries to evaluate 'groups' in 'data' or in
the formula environment. Your local function environment (where the
variable named "groups" is defined) is neither of these. There are a
couple of ways to get the evaluation to work out; here is one:
pb <- list(F1 = 1:8, F2 = 1:
Hi,
I am constructing a plotting function that I would like to behave like
plotting functions within the lattice package. It takes a "groups" argument,
which I process, and then I would like to pass that argument on to the
xyplot function for the actual plotting. However, what ever I do, get an
er
2 matches
Mail list logo