| hanaml.Cauchy {hana.ml.r} | R Documentation |
Draw samples from a Cauchy distribution.
hanaml.Cauchy(conn.context, m = NULL, location = NULL,
scale = NULL, seed = NULL, thread.ratio = NULL)
conn.context |
|
m |
|
location |
|
scale |
codedouble, optional |
seed |
|
thread.ratio |
|
DataFrame containing the generated random samples,
structured as follows
- ID, type INTEGER, ID column.
- GENERATED_NUMBER, type DOUBLE, sample value.
## Not run:
Draw samples from a beta distribution:
> cauchy <- hanaml.Cauchy(conn, m = 20,
location = 0.9, scale = 1.1,
seed = 1, thread.ratio = 0)
> cauchy$collect()
ID GENERATED_NUMBER
0 0 1.827259
1 1 -1.877612
2 2 -18.241436
3 3 -1.216243
4 4 2.091336
5 5 -317.131147
6 6 -2.804251
7 7 -0.338566
8 8 0.143280
9 9 1.277245
## End(Not run)