Skip to content
Prev 78314 / 398502 Next

sampling vectors

Eric Pante a ??crit :
f0 = function()
{
s1 = 50;
for (i in 0:s1)
	{
	s2 = s1 - i;
	for (j in 0:s2)
		{
		s3 = s2 - j;
		print (c(i,j,s3));
		}
	}
}

(If I have well understood the question) ?
hih
Vincent