hanaml.gumbel.RdDraw samples from a Gumbel distribution, which is one of a class of Generalized Extreme Value (GEV) distributions used in modeling extreme value problems.
hanaml.gumbel( connection.context, m = NULL, location = NULL, scale = NULL, seed = NULL, thread.ratio = NULL )
| connection.context |
|
|---|---|
| m |
|
| location |
|
| scale |
|
| seed |
Note that when multithreading is enabled, the random number sequences
of different runs might be different even if the |
| thread.ratio |
|
DataFrame containing the generated random samples, structured as follows:
ID: type INTEGER, ID column
GENERATED_NUMBER: type DOUBLE, sample values
Draw samples from a Gumbel distribution:
> gumbel <- hanaml.gumbel(connection.context = conn,
location = 1.3,
scale = 1.2,
m = 20,
seed = 1,
thread.ratio = 0)
Output:
> gumbel$collect() ID GENERATED_NUMBER 1 0 1.544054 2 1 0.339531 3 2 0.394224 4 3 3.161123 5 4 1.208050 6 5 -0.276447 7 6 1.694589 8 7 1.406419 9 8 -0.443717 10 9 0.156404