plot.Delayed | R Documentation |
Plot Method for Delayed Objects
## S3 method for class 'Delayed'
plot(x, color = TRUE, height = "500px", width = "100%", ...)
x |
An object of class |
color |
If |
height |
passed to visNetwork |
width |
passed to visNetwork |
... |
Additional arugments (passed to visNetwork). |
adder <- function(x, y) {
x + y
}
delayed_adder <- delayed_fun(adder)
z <- delayed_adder(3, 4)
z2 <- delayed_adder(z, 4)
z2$sequential <- TRUE
z3 <- delayed_adder(z2, z)
plot(z3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.