| print.hd | R Documentation |
Printing an hd() object triggers rendering. The geometry type and any
geometry-specific parameters are extracted from the stored hd_geom layer;
presentation options from the hd_opts layer; the backend from the
$backend slot. All of these are forwarded to hd_make(), which performs
the actual rendering via the registered engine.
## S3 method for class 'hd'
print(x, ...)
x |
An |
... |
Ignored; present for S3 consistency. |
You rarely need to call print.hd() directly since R calls it automatically
when the object appears at the top level, in knitr/Quarto chunks, or in
Shiny renderHighchart() / renderPlot() blocks.
The rendered output (a highchart widget or a ggplot object),
invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.