Gumbel | R Documentation |
Generates an object of class "Gumbel"
.
Gumbel(loc = 0, scale = 1)
loc |
real number: location parameter of the Gumbel distribution. |
scale |
positive real number: scale parameter of the Gumbel distribution |
Object of class "Gumbel"
The class "Gumbel"
is based on the code provided
by the package evd.
Matthias Kohl Matthias.Kohl@stamats.de
Gumbel-class
, rgumbel
(G1 <- Gumbel(loc = 1, scale = 2))
plot(G1)
loc(G1)
scale(G1)
loc(G1) <- -1
scale(G1) <- 2
plot(G1)
E(Gumbel()) # Euler's constant
E(G1, function(x){x^2})
## The function is currently defined as
function(loc = 0, scale = 1){
new("Gumbel", loc = loc, scale = scale)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.