Re: [R] lattice and probem

2010-01-18 Thread robert-mcfadden
Excellent. Thank you very much. Best, Robert Dnia 18 stycznia 2010 18:20 Peter Ehlers napisaƂ(a): > robert-mcfad...@o2.pl wrote: > > I have a simple chart: > >barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) > > where Purchase in data has values {0,1,2,3...10}. In a

Re: [R] lattice and probem

2010-01-18 Thread Peter Ehlers
Slight correction below. (Mother always said I needed to learn to count.) Peter Ehlers wrote: robert-mcfad...@o2.pl wrote: I have a simple chart: barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) where Purchase in data has values {0,1,2,3...10}. In a chart xlab begins

Re: [R] lattice and probem

2010-01-18 Thread Peter Ehlers
robert-mcfad...@o2.pl wrote: I have a simple chart: barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) where Purchase in data has values {0,1,2,3...10}. In a chart xlab begins with 1 not 0. How to change it? I guess that barchart() will coerce Purchase to be a factor wi

[R] lattice and probem

2010-01-18 Thread robert-mcfadden
I have a simple chart: barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) where Purchase in data has values {0,1,2,3...10}. In a chart xlab begins with 1 not 0. How to change it? Best, Robert __ R-help@r-project.org mailing li