The cdf of the Gumbel distribution is exp(-exp(-x)), not the density.
The easiest way to plot the density is probably to download package evd
and use
library(evd)
plot(dgumbel, -2, 5)
Alec Stephensontel +44 (0) 1524 593950
Department of Mathematics and Statistics fax +44 (0) 1524 592681
Lancaster University [EMAIL PROTECTED]
Lancaster LA1 4YF http://www.maths.lancs.ac.uk/~stephena/
On Mon, 28 Jul 2003 [EMAIL PROTECTED] wrote:
Hi R lovers!
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))
My question may appear very simple but I haven't got an idea yet about how
to do that. I could plot something with x a vector/set of value but I don't
know how to proceed with x belonging to a continuous interval
Thanks for any help.
**
The sender's email address has changed to
firstname.lastname@ sgcib.com. You may want to update your
personal address book. Please see http://www.sgcib.com for more
information.
**
This message and any attachments (the message) are confide...{{dropped}}
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help