[R] finding x values to meet a y

Antonio Olinto aolinto_r at bignet.com.br
Tue Aug 8 00:49:42 CEST 2006


Hi,

I'd like to find which values of x will give me a y.

In other words, in the example of a gaussian curve, I want to find the values of
x that will give me a density, let's say, of 0.02.

curve(((1/(sqrt(2*pi)*10))*exp(-((x-50)^2)/(2*10^2))),xlim=c(0,100))

Thanks for any help,

Antonio Olinto




-------------------------------------------------
WebMail Bignet - O seu provedor do litoral
www.bignet.com.br



More information about the R-help mailing list