Learn R Programming

lpcde (version 0.1.6)

mvec: Polynomial order vector

Description

Generates list of all combinations of length less than or equal to d of numbers that add up to n.

Usage

mvec(n, d)

Arguments

n

Total value of each combination

d

Maximum length of combinations