[R] Odp: how to sample a block

2008-11-10 Thread Petr PIKAL
Hi [EMAIL PROTECTED] napsal dne 10.11.2008 13:25:41: Hi, I want to sample a block of information. Let's say x is a time series. Using sample(x,5) I get a random sample of length 5 from x. Is it possible to sample consecutive observations, i.e. I sample one observation and also get

Re: [R] Odp: how to sample a block

2008-11-10 Thread Petr PIKAL
Peter Dalgaard [EMAIL PROTECTED] napsal dne 10.11.2008 14:05:41: Petr PIKAL wrote: Hi [EMAIL PROTECTED] napsal dne 10.11.2008 13:25:41: Hi, I want to sample a block of information. Let's say x is a time series. Using sample(x,5) I get a random sample of length 5 from x.

Re: [R] Odp: how to sample a block

2008-11-10 Thread Peter Dalgaard
Petr PIKAL wrote: Hi [EMAIL PROTECTED] napsal dne 10.11.2008 13:25:41: Hi, I want to sample a block of information. Let's say x is a time series. Using sample(x,5) I get a random sample of length 5 from x. Is it possible to sample consecutive observations, i.e. I sample one observation and