Re: [R] generate distribution based on summary data and add random noise

2022-02-03 Thread Bert Gunter
Nope. I think I provided what you asked for, random data in each bin with the amount of data proportional to bin percentage and the distribution of that data uniform (nor normal) within the bin. So maybe someone else can give you what you want if this ain't it. Cheers, Bert "The trouble with havi

[R] exp / log scaled version of cut?

2022-02-03 Thread Fredrik Karlsson
Dear list, For tasks involving people its often good to work with ages in exp or log scale, since either not much or very much happens in the first 10 years of life, and much less (or much more) happens the following years. For tables with age range summary statistics, I sometimes would like to ha