hanaml.student.t.RdDraw samples from a Student's t-distribution.
hanaml.student.t( connection.context, m = NULL, nu = NULL, seed = NULL, thread.ratio = NULL )
| connection.context |
|
|---|---|
| m |
|
| nu |
|
| seed |
Note that when multithreading is enabled, the random number sequences
of different runs might be different even if the |
| thread.ratio |
|
DataFrame containing the generated random samples, structured as follows:
ID: type INTEGER, ID column
GENERATED_NUMBER: type DOUBLE, sample values
Draw samples from a student.t distribution:
> student.t <- hanaml.student.t(connection.context = conn,
m = 20,
nu = 3,
seed = 1,
thread.ratio = 0)
Output:
> student.t$collect()
ID GENERATED_NUMBER
1 0 -0.433802
2 1 1.972038
3 2 -1.097313
4 3 -0.225812
5 4 -0.452342
6 5 2.242921
7 6 0.377288
8 7 0.322347
9 8 1.104877
10 9 -0.017830