Nothing
rDist <- function(x, ...) {
d <- density(na.omit(x), ...)
structure(function(n)
rnorm(n = n,
mean = sample(x = x, size = n, replace = TRUE),
sd = d$bw),
class = "rDist")
}
plot.rDist <- function(x, ...) {
eval(expression(plot(d, ...)), envir = environment(x))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.