Description Usage Arguments Details Value References Examples
View source: R/multivariance-functions.R
This function creates samples which are dependent but k-independent.
1 |
N |
number of samples |
k |
each k-tuple will be independent |
type |
one of |
Throw k
independent fair coins. Now consider
the k+1 events: The first shows head, the second shows head,... the k
-th shows head,
there is an even
(or odd
as selected via type
) number of heads. Each row
contains the state of these k+1 events.
It returns the samples as rows of an N
by k+1
matrix. The columns are dependent but k-independent.
For the theoretic background see the reference [3] given on the main help page of this package: multivariance-package.
1 | coins(200,4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.