Re: [R] lattice strip.custom function

2015-07-04 Thread Bert Gunter
1. Please do not post in HTML. This is a plain text list and it can get mangled. 2. Thank you for the example data and code. The problem is -- see the Help for strip.custom() -- that strip.custom() wants a character vector or expression for the factor.levels argument. But... > str(dist.names) F

[R] lattice strip.custom function

2015-07-04 Thread Naresh Gurbuxani
I would like to use a mapping to name panel strips. Directly using mapping table does not work. What is the problem here? my.df <- data.frame(x = rnorm(100, mean = 0, sd = 2), name = "A") my.df <- rbind(my.df, data.frame(x = rnorm(100, mean = 0, sd = 4), name = "B")) my.df <- rbind(my.df, data.f