Function compute::validation::bootstrap [−][src]
pub fn bootstrap(data: &[f64], n_bootstrap: usize) -> Vec<Vec<f64>>
Expand description
Given an array of data, returns n_bootstrap
vectors, where each has elements that are drawn
from the original array with replacement, and the length of each vector is the same as the
length of the original array.