Re: [R] Changing the binning of collected data

2009-04-22 Thread Jim Lemon
Lorenzo Isella wrote: Dear All, Apologies if this is too simple for this list. Let us assume that you have an instrument measuring particle distributions. The output is a set of counts {n_i} corresponding to a set of average sizes {d_i}. The set of {d_i} ranges from d_i_min to d_i_max either line

Re: [R] Changing the binning of collected data

2009-04-21 Thread Luc Villandre
Hi Lorenzo, I think it would be better if you provided a few example datasets/tables. Right now, I can't exactly circumscribe your problem. When binning data, the cut() function tends to be very useful. To fit common univariate distributions to a given dataset, you should take a look at the

[R] Changing the binning of collected data

2009-04-21 Thread Lorenzo Isella
Dear All, Apologies if this is too simple for this list. Let us assume that you have an instrument measuring particle distributions. The output is a set of counts {n_i} corresponding to a set of average sizes {d_i}. The set of {d_i} ranges from d_i_min to d_i_max either linearly of logarithmically.