| hanaml.gamma {hana.ml.r} | R Documentation |
Draw samples from a gamma distribution.
hanaml.gamma(conn.context, m = NULL, shape = NULL,
scale = NULL, seed = NULL, thread.ratio = NULL)
conn.context |
|
m |
|
shape |
|
scale |
|
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:
> gamma <- hanaml.gamma(conn, m = 20,
shape = 1.1, scale = 1.2,
seed = 1, thread.ratio = 0)
> gamma$collect()
ID GENERATED_NUMBER
0 0 0.082794
1 1 0.084031
2 2 0.159490
3 3 1.063100
4 4 0.530218
5 5 1.307313
6 6 0.565527
7 7 0.474969
8 8 0.440999
9 9 0.463645
## End(Not run)