powered by
resample
resample(X, size)
A vector of resampled X values
A vector to be resamples
The size of the resulting vector. Should be a number such that size*nrow(X) is a whole number
X<-c(1:10) resample(X,.5)
Run the code above in your browser using DataLab