Interactive Shiny application for 2D density distribution

# S3 method for kde
interactivate(x, ...)

Arguments

x

a kde object generated by kde.

...

Other arguments.

Examples

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)
}