| hanaml.beta {hana.ml.r} | R Documentation |
Draw samples from a Beta distribution.
hanaml.beta(conn.context, m = NULL,
a = NULL, b = NULL,
seed = NULL, thread.ratio = NULL)
conn.context |
|
m |
|
a |
|
b |
|
seed |
|
thread.ratio |
|
DataFrame containing the generated random samples,
structured as follows:
- ID, type INTEGER, ID column.
- Generated random number columns, named by appending index number
(starting from 1 to length of pvals) to Random_P,
type DOUBLE. There will be as many columns here as there are values
in pvals.
## Not run:
Draw samples from a beta distribution.
> beta <- hanaml.beta(conn, a = 1, b = 1, m = 20, seed = 1,
> beta$collect()
ID GENERATED_NUMBER
0 0 0.976130
1 1 0.308346
2 2 0.853118
3 3 0.958553
4 4 0.677258
5 5 0.489628
6 6 0.027733
7 7 0.278073
8 8 0.850181
9 9 0.976244
## End(Not run)