Thanks Peter! that worked, and was so easy. LOL. I tried playing with factor and levels before I wrote here, but obviously I didn't do it right. Thanks again, Liat. -- View this message in context: http://r.789695.n4.nabble.com/how-to-force-a-table-to-be-square-tp2298707p2298875.html Sent from the R help mailing list archive at Nabble.com.