Re: [R] Graphical Display of Values' Distribution

2008-09-17 Thread Philipp Pagel
> I therefore wish to examine all values of urban.long[,3] which are > greater than 1. I have tried the following, but receive error > messages each time: > > hist(urban.long[,3]>1) > Error in hist.default(urban.long[, 3]> 1) : 'x' must be numeric > > hist(urban.long[urban.long[,3]>1]) > Error i

Re: [R] Graphical Display of Values' Distribution

2008-09-17 Thread Philipp Pagel
> I have a column within a dataframe of values which range between 1 and > 2. I want to display graphically the distribution of these values > (i.e. are they clustered towards either exteme? Or spread evenly?). > What is a good way of doing this in R? > > I've tried a few things, including using

Re: [R] Graphical Display of Values' Distribution

2008-09-17 Thread Steve Murray
Dear Phil and Jorge, Many thanks for your quick replies. I found that:> hist(urban.long[,3]) worked and displayed the data as I hoped. This reveals that the data are strongly distributed towards the value '1', and the other bars on the histogram are difficult to distinguish from each other a

Re: [R] Graphical Display of Values' Distribution

2008-09-17 Thread Ben Bolker
Steve Murray hotmail.com> writes: > > > Dear all, > > I have a column within a dataframe of values which range between 1 and 2. I want to display graphically the > distribution of these values (i.e. are they clustered towards either exteme? Or spread evenly?). What is > a good way of doing thi