[R] All nonnegative integer solution

aminzoll at ece.tamu.edu aminzoll at ece.tamu.edu
Mon Nov 19 10:57:34 CET 2007


Dear all,
Is there any method in R to find all possible nonnegative integer  
solutions to the linear equation with unit coefficients as follow:
X1+X2+...+Xk=N
Thank you,
Amin Zollanvari



More information about the R-help mailing list