spaghetti | R Documentation |
Use plot to draw spaghetti plots for the mc/mcnode objects.
spaghetti(x, ...)
## S3 method for class 'mc'
spaghetti(
x,
griddim = NULL,
xlab = names(x),
ylab = "F(n)",
main = "",
maxlines = 100,
...
)
## S3 method for class 'mcnode'
spaghetti(x, ...)
x |
mc/mcnode object |
... |
further arguments to be passed to plot.stepfun() |
griddim |
a vector of two integers, indicating the size of the grid of the graph. If NULL, the grid is calculated to produce a "nice" graph. |
xlab |
vector of labels for the x-axis. If NULL, use the name of the node. |
ylab |
vector of labels for the y-axis. |
main |
vector of main titles of the graph. |
maxlines |
the maximum number of ecdf to draw. |
data(total)
spaghetti(mc(xVUM))
spaghetti(xVUM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.