| hanaml.PERT {hana.ml.r} | R Documentation |
Draw samples from a PERT distribution.
hanaml.PERT(conn.context, m = NULL, min = NULL, mode = NULL,
max = NULL, scale = NULL, seed = NULL,
thread.ratio = NULL)
conn.context |
|
m |
|
min |
|
mode |
|
max |
|
scale |
double, optional |
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 pert distribution.
> pert <- hanaml.pert(conn, m = 20,
minimum = 2, mode = 3,
maximum = 4, scale =4,
seed = 1, thread.ratio = 0)
> pert$collect()
ID GENERATED_NUMBER
0 0 0.360781
1 1 -0.023649
2 2 0.106465
3 3 0.307412
4 4 -0.136838
5 5 -0.086010
6 6 -0.504639
7 7 0.335352
8 8 -0.287202
9 9 0.468597
## End(Not run)