Learn R Programming

estprod (version 1.2)

combination_with_repetition: Combination with repetition.

Description

From combinatorial math, this function aims calculates combinations with repetitions.

Usage

combination_with_repetition(n, r)

Arguments

n

The number of elements (variables).

r

The size of the groups (degreess of the polynomial interaction).