hanaml.lognormal.RdDraw samples from a lognormal distribution.
hanaml.lognormal( 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 lognormal distribution:
> lognormal <- hanaml.lognormal(connection.context = conn,
m = 20,
location = 0.6,
scale = 1,
seed = 1,
thread.ratio = 0)
Output:
> exponential$collect() ID GENERATED_NUMBER 1 0 0.461803 2 1 0.548432 3 2 0.625874 4 3 3.038529 5 4 3.582703 6 5 1.867543 7 6 1.853857 8 7 0.378827 9 8 1.104031 10 9 0.840102