Hello everybody!

I need 1,000 re-samples for a data set (bootstrap iterations ), e.g. the age of employers (19, 34, 45, 23, 34, 37,29, 34, 45, 23, 34, 37) by using R. The solution should be with pulling back an look e.g. like this:

[1] 37,29, 34, 45, 23, 34, 37,19, 34, 45, 23, 34

[2] 19, 34, 45, 23, 34, 45, 23, 34, 37,34, 37,29

....

Can someone please propose an r-code?

Similar questions and discussions