Skip to content
Prev 206680 / 398503 Next

lattice and probem

robert-mcfadden at o2.pl wrote:
I guess that barchart() will coerce Purchase to be a factor with
levels '1' to '10'. So make it a factor with your choice of
levels:

PurchaseF <- factor(Purchase, levels = 0:10)

(or use the scales= argument in barchart())

  -Peter Ehlers