Description Usage Arguments Value References Examples
View source: R/multivariance-functions.R
This function creates samples of a tetrahedron-dice colored r, g, b and rgb. Each sample indicates if for the thrown dice the colors r, g and b are contained on the bottom side of the dice.
1 | tetrahedron(N = 1000)
|
N |
number of samples |
It returns the samples of the events r, g and b as rows of a N
by 3 matrix (the first column corresponds to r, the second to g,...). TRUE indicates that this color is on the bottom side of the dice. The columns are dependent but 2-independent.
For the theoretic background see the reference [3] given on the main help page of this package: multivariance-package.
1 | tetrahedron(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.