data(vehicles)
X <- vehicles[, 1:11]
Y <- vehicles[, 12:15]
X <- scale(X)
Y <- scale(Y) # The scales of Y are vastly different, so scaling is reasonable here
B <- 100
if (FALSE) bootse <- boot.rrenv(X, Y, 4, 2, B)
if (FALSE) bootse
Run the code above in your browser using DataLab