[R] Permutation matrix

Gyanendra Pokharel
Fri, 18 Nov 2011 22:02:02 -0000

Hi all,
I have a set of elements (1, 1, 0,1,1,0,1,0,1,1) with ten elements. I have
to construct the permutation matrix of this set which is of the size 10 by
2^10. Can some one help how is this possible? Is there is a particular
function in R or I need to make function?
Best

	[[alternative HTML version deleted]]