[R] Quantile of a function

About this list Date view Thread view Subject view Author view Attachment view

From: Josť Fernando Silva (zefern2000@yahoo.com.br)
Date: Sat 08 May 2004 - 02:10:18 EST


Message-id: <20040507161018.85698.qmail@web50004.mail.yahoo.com>

I have a simple doubt:
I have a function, say:
 
test <- function (theta) {
return (theta^2) }
 
I can use:
integrate (test,0,1)
to obtain the area under de function.
Can I do the opposite? I`d like to give the lower limit and the area I need as arguments, in order to get the upper limit. In other words, I`d like to obtain the quantile of the function (the lower limit could be 0, for example).
Thank you in advance.
 

---------------------------------
Yahoo! Messenger - Fale com seus amigos online. Instale agora!
        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST