s-news
[Top] [All Lists]

permutation

To: "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Subject: permutation
From: "Reyderman, Larisa" <larisa.reyderman@spcorp.com>
Date: Thu, 14 Apr 2005 16:54:20 -0400

Dear All,

I have a seemingly easy question.  I need to create a matrix consisting of all possible permutations of the following vector:

0.5  1.0  1.5  2.0  3.0  4.0  5.0  6.0  8.0 10.0 12.0 16.0

I know that "sample" function with (replace=F) will generate a permutation, however, I need all possible permutations.

Thank you for your help.

Larisa



*********************************************************************
This message and any attachments are solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use or distribution of the information included in this message is prohibited -- Please immediately and permanently delete.
<Prev in Thread] Current Thread [Next in Thread>