Re: [R] Permutation of a sequence to without changing local distribution

2010-08-01 Thread Wu Gong
It would be helpful if you give a sample data to illustrate the problem. I really can't understand what you want:) - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/Permutation-of-a-sequence-to-without-changing-local-distribution-tp2309283p2309616.html Sent from

[R] Permutation of a sequence to without changing local distribution

2010-08-01 Thread thmsfuller...@gmail.com
Hello All, Suppose that I have a sequence of letters (e.g., A..Z). I want to permute the sequence to generate random sequences, such that the local density of any letter with a window (say of length L) doesn't change much before and after permutation. One way that I can thing of is to require tha