An Introduction to Bootstrap Methods with Applications to R