swh:1:snp:c5bf23010a433f55124ad01cf6314106162422e4
Tip revision: 2ffcc6849222a41d7684515fd823120c29cfa0e2 authored by Björn Böttcher on 06 February 2019, 12:30:06 UTC
version 2.0.0
version 2.0.0
Tip revision: 2ffcc68
coins.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariance-functions.R
\name{coins}
\alias{coins}
\title{dependence example: k-independent coin sampling}
\usage{
coins(N = 1000, k = 2)
}
\arguments{
\item{N}{number of samples}
\item{k}{each k-tuple will be independent}
}
\value{
It returns the samples as rows of an \code{N} by \code{k+1} matrix. The columns are dependent but k-independent.
}
\description{
This function creates samples which are dependent but k-independent.
}
\examples{
coins(200,4)
}
\references{
For the theoretic background see the reference [3] given on the main help page of this package: \link{multivariance-package}.
}