Skip to content
Prev 68031 / 398506 Next

Strange behavior in Lattice when superimposing

On Tuesday 19 April 2005 02:19, Adam Lyon wrote:
I'm not sure if this is explicitly documented anywhere (perhaps not), 
but the variables in the formula have to have the same length. What you 
should really do is 

densityplot(~ c(a, b), groups = rep(c('a', 'b'), c(10, 100))

Your usage should have triggered an error; I'll see if I can make that 
happen.

Deepayan