bouquet {rmt} | R Documentation |
Bouquet plot
Description
Construct the bouquet plot based on the estimated stage-wise restricted mean win/loss times.
Usage
bouquet(
x,
Kmax = NULL,
xlim = NULL,
ylim = NULL,
xlab = "Restricted mean win/loss time",
ylab = "Follow-up time",
group.label = TRUE,
cex.group = 1,
...
)
Arguments
x |
An object returned by |
Kmax |
A positive integer; If specified, the stage-wise estimates over
|
xlim |
The x limits of the plot. |
ylim |
The y limits of the plot. |
xlab |
A label for the x axis, defaults to a description of x. |
ylab |
A label for the y axis, defaults to a description of x. |
group.label |
If |
cex.group |
Font size of the group labels if |
... |
Other arguments that can be passed to the underlying |
Value
No return value, called for side effects.
See Also
rmtfit
, summary.rmtfit
,
plot.rmtfit
.
Examples
# load the colon cancer trial data
library(rmt)
head(colon_lev)
# fit the data
obj=rmtfit(ms(id,time,status)~rx,data=colon_lev)
# bouquet plot
bouquet(obj)
[Package rmt version 1.0 Index]