swh:1:snp:c5bf23010a433f55124ad01cf6314106162422e4
Raw File
Tip revision: a8a673ff6b5bbf21ff110579fb06b2dfb6236967 authored by Björn Böttcher on 18 June 2019, 11:20:03 UTC
version 2.2.0
Tip revision: a8a673f
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}.
}
back to top