inst/snippet/lln-cauchy.R

x <- rcauchy(10000)
runningMean <- cumsum(x) / 1:length(x)
cauchyPlot <- xyplot(runningMean~1:10000,
    ylab="running mean",xlab="n", type="l");

Try the fastR package in your browser

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

fastR documentation built on May 1, 2019, 11:18 p.m.