resample | R Documentation |
resample
resample(X, size)
X |
A vector to be resamples |
size |
The size of the resulting vector. Should be a number such that size*nrow(X) is a whole number |
A vector of resampled X values
X<-c(1:10) resample(X,.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.