inverse.choose {simplextree}R Documentation

inverse.choose

Description

Inverts the binomial coefficient for general (n,k).

Usage

inverse.choose(x, k)

Arguments

x

the binomial coefficient.

k

the denominator of the binomial coefficient x.

Details

Given a quantity x = choose(n, k) with fixed k, finds n.

Value

the numerator of the binomial coefficient, if the Otherwise

Examples

100 == inverse.choose(choose(100,2), k = 2)
# TRUE 
12345 == inverse.choose(choose(12345, 5), k = 5)
# TRUE

[Package simplextree version 1.0.1 Index]