Re: [R] how to permute, simulate Markov chain

2009-11-15 Thread David Winsemius
On Nov 15, 2009, at 4:11 PM, martin08 wrote: Hi all, I am new to R. Can someone please give me some hints in how to do the following things: 1- Get ONE permutation of a set. I have looked at the gregmisc package's permutations() method, but I just want to get one permutation at a time.

[R] how to permute, simulate Markov chain

2009-11-15 Thread martin08
Hi all, I am new to R. Can someone please give me some hints in how to do the following things: 1- Get ONE permutation of a set. I have looked at the gregmisc package's permutations() method, but I just want to get one permutation at a time. 2- Simulate a Markov chain in R. For instance, I wan