| hanaml.weibull {hana.ml.r} | R Documentation |
Draw samples from a weibull distribution.
hanaml.weibull(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 weibull distribution.
> weibull <- hanaml.weibull(conn, m = 20,
shape = 2, scale = 3,
seed = 1, thread.ratio = 0)
> weibull$collect()
ID GENERATED_NUMBER
0 0 2.188750
1 1 0.247628
2 2 0.339884
3 3 0.902187
4 4 0.909629
5 5 0.514740
6 6 4.627877
7 7 0.143767
8 8 0.847514
9 9 2.368169
## End(Not run)