Skip to content
Back to formatted view

Raw Message

Message-ID: <20919265.post@talk.nabble.com>
Date: 2008-12-09T17:19:44Z
From: legendy
Subject: Re sampling with index

Hallo, All,

I have a question needs your help.
I just want get a sample with the original index. For example, I have a
dataset,

ind  x
1    39
2    24
3    15
4    75
5    61

After resample, I want to get a new dataset like this (with the original
index)

ind  x
3    15
5    61
1    39

Thank you in advance.

Legendy





-- 
View this message in context: http://www.nabble.com/Resampling-with-index-tp20919265p20919265.html
Sent from the R help mailing list archive at Nabble.com.