View source: R/panelFunctions.R
default_panel_configuration | R Documentation |
Creates a standard two-pane panel configuration with a detail map and a summary map. The panes are arranged horizontally with equal widths (50% each).
default_panel_configuration()
A panel_configuration
object with:
Two panes: "pane1" and "pane2"
Equal sizes (50% width each)
pane1 configured as a detail map
pane2 configured as a summary map
panel_configuration for creating custom panel configurations. detailMap for detail map configuration. summaryMap for summary map configuration.
matrix_data <- matrix(rnorm(100),
nrow = 10, ncol = 10,
dimnames = list(paste0("r", 1:10), paste0("c", 1:10))
)
panel_configuration <- default_panel_configuration()
hm <- chmNew("my_ngchm", matrix_data, panel_configuration = panel_configuration)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.