Description Usage Arguments Value Examples
This function produces a static plot that shows a given state of the currently active Sleepwalk app. Double click on a point in the web browser will generate a command that can reproduce this exact state of the app.
1 | slw_snapshot(point, emb = 1, returnList = FALSE)
|
point |
an index of the focus point (i.e. the one, over which the mouse is hovering at the moment). To learn the index of a point double click on it in the web browser. |
emb |
an index of the embedding of the focus point. To learn the index of an embedding double click on any of its points in the web browser. |
returnList |
if |
a ggplot
object or a list of ggplot
objects.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.