In reply to Abi.

yes, although this example is for univariate data. Look at some of my bootstrap examples that use multivariate data, such as my example of case resampling for regression models.