inst/snippets/Example3.28.R

median(~ Price, data = MustangPrice )
Boot.Mustang <- do(5000) * median( ~Price, data = resample(MustangPrice) )
head(Boot.Mustang, 3)
histogram( ~ median, n = 50, data = Boot.Mustang)

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.