View source: R/perspective-shiny.R
| psp_restore | R Documentation |
Applies a configuration object to the Perspective viewer, changing columns, group_by, split_by, filters, sort, aggregates, plugin, etc.
psp_restore(proxy, config)
proxy |
A |
config |
A list of Perspective viewer configuration options. |
The proxy object (invisibly), for chaining.
if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_restore(proxy, list(plugin = "Y Bar", group_by = list("cyl")))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.