interactivate.kde.Rd
Interactive Shiny application for 2D density distribution
# S3 method for kde
interactivate(x, ...)
a kde
object generated by kde
.
Other arguments.
if(interactive()) {
require(ks)
lt = readRDS(system.file("extdata", "2d_density_xy.rds", package = "InteractiveComplexHeatmap"))
data = cbind(lt$x, lt$y)
fit = kde(data)
interactivate(fit)
}