| hanaml.geometric {hana.ml.r} | R Documentation |
Draw samples from a geometric distribution.
hanaml.geometric(conn.context,
m = NULL,
p = NULL,
seed = NULL,
thread.ratio = NULL)
conn.context |
|
m |
|
p |
|
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.
> geometric <- hanaml.geometric(conn, m = 20,
p = 0.6,seed = 1,
thread.ratio = 0)
> geometric$collect()
ID GENERATED_NUMBER
0 0 1.0
1 1 1.0
2 2 1.0
3 3 0.0
4 4 1.0
5 5 0.0
6 6 0.0
7 7 0.0
8 8 0.0
9 9 0.0
## End(Not run)