inst/snippets/Example5.1.R

Bootstrap <- do(1000) * mean( ~ Time, data = resample(CommuteAtlanta))
head(Bootstrap, 3)
histogram( ~ mean, density = TRUE, data = Bootstrap)
densityplot( ~ mean, data = Bootstrap)

Try the Lock5withR package in your browser

Any scripts or data that you put into this service are public.

Lock5withR documentation built on May 2, 2019, 3:43 p.m.