| hanaml.poisson {hana.ml.r} | R Documentation |
Draw samples from a Poisson distribution.
hanaml.Poisson(conn.context, m = NULL, theta = NULL,
seed = NULL, thread.ratio = NULL)
conn.context |
|
m |
|
theta |
|
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 poisson distribution.
> poisson <- hanaml.Poisson(conn, m = 20,
theta = 0.5, seed = 1,
thread.ratio = 0)
> poisson$collect()
ID GENERATED_NUMBER
0 0 0.0
1 1 1.0
2 2 1.0
3 3 1.0
4 4 1.0
5 5 1.0
6 6 0.0
7 7 2.0
8 8 0.0
9 9 1.0
## End(Not run)