Re: [R] Histogram from frequency data in pre-made bins

2011-08-22 Thread RobinLovelace
Update: I have recreated an artificial distribution using uniform random numbers n <- c(runif(Car[1],0,2), runif(Car[2],2,5),runif(Car[3],5,10), runif(Car[4],10,20), runif(Car[5],20,30), runif(Car[6],30,40), runif(Car[7],40,60), runif(Car[8],60,200) ) The resulting density distri

[R] Histogram from frequency data in pre-made bins

2011-08-21 Thread RobinLovelace
Dear R user, I am using UK census data on travel to work. The authorities have provided a breakdown in each area by mode (car, bicycle etc.) and distance travelled (0 – 2 km, 2 – 5 km etc). Therefore, after processing, the data for Sheffield look like this https://files.one.ubuntu.com/ej2VtVbJTEael