Hello,
I have a dataset named "df" of 3 variables and 100 rows. I need to sample 1000 subsamples of 10 rows with "replace = TRUE" form it.
I've tried the code below but it didn't work.
N=100
for(i in 1:N){
samp[i] <- sample(df,10,replace=TRUE)
}
Could you please help me?
Thanks a lot,