View source: R/plot_stratEst_strategy.R
plot.stratEst.strategy | R Documentation |
Plot Method for stratEst.strategy
## S3 method for class 'stratEst.strategy' plot( x, y, ..., title = NULL, show.legend = TRUE, show.title = TRUE, node.fontsize = 25, main.fontsize = 40, arrow.fontsize = 20, legend.fontsize = 20, legend.width = 1, node.width = 1, arrowsize = 1, node.penwidth = 1, arrow.penwidth = 1, fillcolor = NULL, ranksep = 0, file = NA )
x |
An object of class |
y |
Argument two of the generic function. |
... |
Further arguments passed to or from other methods. |
title |
String. The title of the plot. |
show.legend |
Logical. Hide plot legend if FALSE. Default is TRUE. |
show.title |
Logical. Hide plot title if FALSE. Default is TRUE. |
node.fontsize |
Font-size of the plot labels. |
main.fontsize |
Font-size of the plot title. |
arrow.fontsize |
Font-size of the arrow labels. |
legend.fontsize |
Font-size of the legend. |
legend.width |
Width of the legend items. |
node.width |
Width of the nodes. |
arrowsize |
Size of the arrowhead. |
node.penwidth |
Width of the nodes. |
arrow.penwidth |
Width of the nodes. |
fillcolor |
Vector of hex-color codes of the choices. |
ranksep |
Separation of nodes with the same rank. |
file |
String. A valid path followed by a file name. Should end with .svg. Default is NA and no file is written. |
No return value, called to create a plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.