Learn R Programming

SOAs (version 1.4)

nchoosek: Utility functions from DoE.base

Description

Utility functions from DoE.base

Usage

nchoosek(n, k)

Value

nchoosek returns a k times choose(n,k) matrix whose columns hold the possible selections in lexicographic order

Arguments

n

number to select from

k

number to be selected without replacement