legendbox | R Documentation |
boxes.MS
and boxes.Lexis
When drawing boxes describing a multistate model a legend
explaining the numbers in the plot is required. legendbox
does
this.
legendbox(x, y,
state = "State",
py = "Person-time",
begin = "no. begin",
end = "no. end",
trans = "Transitions",
rates = "\n(Rate)",
font = 1, ...)
x |
x-coordinate of the center of the box. |
y |
y-coordinate of the center of the box. |
state |
Text describing the state |
py |
Text describing the risk time |
begin |
Text describing the no. persons starting FU in state |
end |
Text describing the no. persons ending FU in state |
trans |
Text describing the no. of transitions |
rates |
Text describing the rates |
font |
Font to use for the text |
... |
Argumants passed on to |
None.
Bendix Carstensen, http://bendixcarstensen.com
boxes.Lexis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.