Also:

plot(function(x)exp(-exp(-x)),0,10)

Since I also use S-Plus 6.1, I tried both Jason's solution and the above there; both failed. The following worked

         x <- seq(0, 10, length=101)
         plot(x, exp(-exp(-x)), type="l")

hope this helps. spencer graves

Jason Turner wrote:
[EMAIL PROTECTED] wrote:

Are there any means to define and plot a function given the equation that
specifies the function?

For example I'd like to plot and work with the Gumbel Distribution density
defined by
Lambda(x)=exp(-exp(-x))


Like this?

curve(exp(-exp(-x)),0,10,101)

Cheers

Jason

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to