interactivate.kde | R Documentation |
Interactive Shiny application for 2D density distribution
## S3 method for class 'kde'
interactivate(x, ...)
x |
a |
... |
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.