Hi listers,
I've been work on a bootstrap estimator and I don't know how to make a
certain manipulation at the data.
As an example I have the following data and samples... I need now to
identify the vector in wich I sampled the id, I mean that I have to merge
the files having the key as the id of the samples in order to find the
vector that were selected.
Thanks in advance,
Márcio

id<-seq(1:49)
x<-runif(49)
u<-runif(49)
data<-cbind(id,x,u)
B<-10
sampling<-lapply(1:B, function(i) sample(id, replace=T))

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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to