Re: [R] number to volume weighted distribution

2017-11-27 Thread PIKAL Petr
From: Thierry Onkelinx [mailto:thierry.onkel...@inbo.be] > Sent: Friday, November 24, 2017 10:02 PM > To: PIKAL Petr > Cc: Duncan Murdoch ; r-help@r-project.org > Subject: Re: [R] number to volume weighted distribution > > Hi Petr, > > I think that Duncan suggests something like this: >

Re: [R] number to volume weighted distribution

2017-11-24 Thread Thierry Onkelinx
to 1 > > but how can I plot ecdf with volume weighted data. Obviously > > ecdf(x*xw) or ecdf(x^3*xw) is not correct. > > Cheers > Petr > >> -Original Message- >> From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] >> Sent: Friday, November 24, 2017 12:36 PM

Re: [R] number to volume weighted distribution

2017-11-24 Thread PIKAL Petr
day, November 24, 2017 12:36 PM > To: PIKAL Petr ; r-help@r-project.org > Subject: Re: [R] number to volume weighted distribution > > On 24/11/2017 6:27 AM, PIKAL Petr wrote: > > Dear all > > > > Strictly speaking it is not R question but as you are the most capable

Re: [R] number to volume weighted distribution

2017-11-24 Thread Duncan Murdoch
On 24/11/2017 6:27 AM, PIKAL Petr wrote: Dear all Strictly speaking it is not R question but as you are the most capable persons I know I give it a try. I am strugling with recalculation of number weighted to volume weighted distribution. Suppose I have objects (cubes) with size x<- c(rep(1

[R] number to volume weighted distribution

2017-11-24 Thread PIKAL Petr
Dear all Strictly speaking it is not R question but as you are the most capable persons I know I give it a try. I am strugling with recalculation of number weighted to volume weighted distribution. Suppose I have objects (cubes) with size x<- c(rep(10,20), rep(100, 10), rep(300,5)) I can get