plot.stratEst.strategy: Plot Method for stratEst.strategy

View source: R/plot_stratEst_strategy.R

plot.stratEst.strategyR Documentation

Plot Method for stratEst.strategy

Description

Plot Method for stratEst.strategy

Usage

## 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
)

Arguments

x

An object of class stratEst.strategy.

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.

Value

No return value, called to create a plot.


stratEst documentation built on Dec. 1, 2022, 1:13 a.m.