Thank you, that's works just fine. Luca Il giorno 29/ago/2011, alle ore 23.48, H. T. Reynolds ha scritto: > Hi, > > I use xtabs with the weight variable on the left hand side of the formula as in > > xtabs(weight ~ opinion + gender + ...)