legendbox {Epi} | R Documentation |
Draw a box with text explaining the numbers in and between boxes
from boxes.MS
and boxes.Lexis
Description
When drawing boxes describing a multistate model a legend
explaining the numbers in the plot is required. legendbox
does
this.
Usage
legendbox(x, y,
state = "State",
py = "Person-time",
begin = "no. begin",
end = "no. end",
trans = "Transitions",
rates = "\n(Rate)",
font = 1, ...)
Arguments
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 |
Value
None.
Author(s)
Bendix Carstensen, http://bendixcarstensen.com
See Also
[Package Epi version 2.48 Index]