Re: [R] Question concerning pdfs

2008-01-16 Thread Greg Snow
age- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rainer M Krug > Sent: Wednesday, January 16, 2008 2:35 AM > To: r-help > Subject: [R] Question concerning pdfs > > Hi > > I have a dataset of absolute growth rates g ranging from > close to 0 to a

Re: [R] Question concerning pdfs

2008-01-16 Thread Rainer M Krug
> Web: http://med.kuleuven.be/biostat/ > > http://www.student.kuleuven.be/~m0390867/dimitris.htm<http://www.student.kuleuven.be/%7Em0390867/dimitris.htm> > > > > - Original Message - > From: "Rainer M Krug" <[EMAIL PROTECTED]> > T

Re: [R] Question concerning pdfs

2008-01-16 Thread Dimitris Rizopoulos
99 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: "Rainer M Krug" <[EMAIL PROTECTED]> To: "r-help" <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2008 10:

[R] Question concerning pdfs

2008-01-16 Thread Rainer M Krug
Hi I have a dataset of absolute growth rates g ranging from close to 0 to around whatever of which I want to calculate a pdf. If I use density(g) the pdf will extend to below 0 so I logtransform g and do d <- density(log(g)). Now I would like to transform this pdf back, i.e. d$x <- exp(d$x) but wh