eval_kdf <- function(object, at, bw ="nrd0", kernel = "gaussian") {
if (variable(object) != "discrete") {
stop("Kernel density function is only ",
"calculated for discrete distributions.")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.