plotCorners: plotCorners

Description Usage Arguments

View source: R/plotCorners.R

Description

plotCorners is a function that draws the full four leaf fourCorners plot

Usage

1
2
3
4
5
plotCorners(pathOutcome, othersOutcome, pathNotOutcome, othersNotOutcome,
  uniquePathOutcome, path = "PATH", outcome = "OUTCOME",
  textPosition = 0.25, pathColor = "#5dc863",
  othersColor = "#2c728e", pathNotColor = "#fde725",
  othersNotColor = "#440154", shape = "square")

Arguments

pathOutcome

is the number of cases that have the path leading to the outcome

pathNotOutcome

is the number of cases that have the path, but not the outcome – used to calculate consistency

othersNotOutcome

is the number of cases that are irrelevant (no path or outcome)

uniquePathOutcome

is the number of cases that only have that path to the outcome (and not some other)

path

is the name of the path

outcome

is the name of the outcome

pathColor

is the color of the on-path cases with the outcome

othersColor

is the color of the cases with the outcome not on the path

pathNotColor

is the color of the on-path cases without the outcome

othersNotColor

is the color of the irrelevant cases (without the outcome and not on the path)

shape

is the shape to be used in plotting

otherOutcome

is the number of cases without the path but with the outcome – used to calculate coverage


cognopod/corners documentation built on May 12, 2021, 9:25 a.m.