| plot.tornado | R Documentation |
Draws a Tornado chart as provided by tornado or tornadounc.
## S3 method for class 'tornado'
plot(
x,
which = 1,
name = NULL,
stat = c("median", "mean"),
xlab = "method",
ylab = "",
...
)
## S3 method for class 'tornadounc'
plot(
x,
which = 1,
stat = "median",
name = NULL,
xlab = "method",
ylab = "",
...
)
x |
a |
which |
which output to plot (for multivariate output). |
name |
vector of names for input variables. If ‘NULL’, taken from the object. |
stat |
the statistic of the output to be considered. For a ‘tornado’ object: ‘"median"’ or ‘"mean"’. For a ‘tornadounc’ object: should match a row name, or use the row number. |
xlab |
label of the x axis. If ‘"method"’, use the correlation method. |
ylab |
label of the y axis. |
... |
further arguments to be passed to the ‘plot’ function. |
A point is drawn at the estimate, and the segment reflects the uncertainty around it.
‘NULL’ (called for side effects).
tornado
data(ec)
x <- evalmcmod(ec$modEC2, nsv=100, nsu=100, seed=666)
tor <- tornado(x, 7)
plot(tor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.