Nothing
.densKDE.x <- function(x, hx, npts)
{
output <- .C(C_RdensKDEX,
n = as.integer(length(x)),
x = as.double(x),
y = double(length(x)),
hx = as.double(hx),
error = integer(1),
PACKAGE = "rebmix")
if (output$error == 1) {
stop("in RdensKDEX!", call. = FALSE); return(NA)
}
i <- !duplicated(output$x)
output$x <- output$x[i]
output$y <- output$y[i]
n <- length(output$y)
if (n > npts) {
i <- sample.int(n, npts, replace = FALSE, prob = NULL)
output$x <- output$x[i]
output$y <- output$y[i]
}
rm(list = ls()[!(ls() %in% c("output"))])
return(output)
} ## .densKDE.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.