Displaying 1 result from an estimated 1 matches for "panelconstr".
2002 Jul 12
2
Lattice help (again?)
...---------
Hi all,
I've got some troubles with a Lattice plot. The error I get is
Error in Ops.factor(groups[subscripts], vals[i]) :
Level sets of factors are different
which sort of doesn't make sense to me. Can you please help me
figure out what it means?
Here is the code:
my.panelconstr = function(x,y,...){
points(x,y)
panel.loess(x,y,span=1)
panel.superpose(x,y,...)
}
subset(m1data,! is.na(votms) & !is.na(age) & !is.na(Cplace) &
!is.na(tokentype)& !is.na(voicing),
select=c(votms,age,Cplace,tokentype,voicing)) -> sampledata
xyplot(votms ~ age |...