| hanaml.normal {hana.ml.r} | R Documentation |
Draw samples from a normal distribution.
hanaml.normal(conn.context,
m = NULL,
mean = NULL,
sd = NULL,
seed = NULL,
thread.ratio = NULL)
conn.context |
|
m |
|
mean |
|
sd |
|
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.
> normal <- hanaml.normal(conn, mean = 1, sigma = 2, m = 20,
seed = 1, thread.ratio = 0)
> normal$collect()
ID GENERATED_NUMBER
0 0 0.321078
1 1 -1.327626
2 2 0.798867
3 3 -0.116128
4 4 -0.213519
5 5 0.008566
6 6 0.251733
7 7 0.404510
8 8 -0.534899
9 9 -0.420968
## End(Not run)