1. We don't do homework on this list. 2. "... which is of the size 10 by 2^10." No it isn't. (Hint: Many of the permutations are not distinct).
-- Bert On Fri, Nov 18, 2011 at 2:02 PM, Gyanendra Pokharel <gyanendra.pokha...@gmail.com> wrote: > 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]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.