inst/scripts/air_boot.q

with(aircraft, {
y <- log(Span)[Period==3]
sm.density(y, xlab = "Log span")
for (i in 1:20) sm.density(sample(y, replace=TRUE), col=6, add=TRUE)
sm.density(y, xlab = "Log span", add=TRUE)
})

Try the sm package in your browser

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

sm documentation built on July 4, 2022, 5:06 p.m.