[R] Forcing hist()

2005-09-14 Thread Par Leijonhufvud
I'm trying to create histogram (using hist()) that fullfill the following criteria: * data is on a ordinal scale (1, 2, 3, 4, 5) * I want bars centered over the number on the x-axis * I want 5 bars of equal width I have tried various versions of the hist() command, with

Re: [R] Forcing hist()

2005-09-14 Thread Marc Schwartz (via MN)
On Wed, 2005-09-14 at 20:17 +0200, Par Leijonhufvud wrote: I'm trying to create histogram (using hist()) that fullfill the following criteria: * data is on a ordinal scale (1, 2, 3, 4, 5) * I want bars centered over the number on the x-axis * I want 5 bars of equal