Urn Sampling Without Replacement: Enumerative Combinatorics in R

This short paper introduces a code snippet in the form of two new R functions that enumerate possible draws from an urn without replacement; these functions call C code, written by the author. Some simple combinatorial problems are solved using the software.

Bibliographic Details
Main Author: Robin K. S. Hankin
Format: Article
Language:English
Published: Foundation for Open Access Statistics 2007-01-01
Series:Journal of Statistical Software
Online Access:http://www.jstatsoft.org/index.php/jss/article/view/1519
Description
Summary:This short paper introduces a code snippet in the form of two new R functions that enumerate possible draws from an urn without replacement; these functions call C code, written by the author. Some simple combinatorial problems are solved using the software.
ISSN:1548-7660