View source: R/plot.trajectory.R
plot.trajectory | R Documentation |
trajectory
ObjectsA method for the plot
generic that plots a diagram of the given trajectory.
## S3 method for class 'trajectory'
plot(x, engine = "dot",
fill = scales::brewer_pal("qual"), verbose = FALSE, ...)
x |
a simmer trajectory. |
engine |
a string specifying a layout engine (see |
fill |
discrete color palette for resource identification. |
verbose |
show additional info directly in the labels. |
... |
additional parameters for |
Returns an htmlwidget
.
x <- trajectory() %>%
seize("res", 1) %>%
timeout(1) %>%
release("res", 1) %>%
rollback(3)
plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.