| hanaml.exponential {hana.ml.r} | R Documentation |
Draw samples from a exponential distribution.
hanaml.exponential(conn.context, m = NULL, lambda = NULL,
seed = NULL, thread.ratio = NULL)
conn.context |
|
m |
|
lambda |
|
seed |
|
thread.ratio |
|
DataFrame containing the generated random samples,
random samples:
- ID, type INTEGER, ID column.
- GENERATED_NUMBER, type DOUBLE, sample value.
## Not run:
Draw samples from a beta distribution.
> exponential <- hanaml.exponential(conn, m = 20,
lambda = 1.5,
seed = 1,
thread.ratio = 0)
> exponential$collect()
ID GENERATED_NUMBER
0 0 0.035207
1 1 0.559248
2 2 0.122307
3 3 2.339937
4 4 1.130033
5 5 0.985565
6 6 0.030138
7 7 0.231040
8 8 1.233268
9 9 0.876022
## End(Not run)