- x
An adjustedcif
object created using the adjustedcif
function.
- conf_int
A logical variable indicating whether the confidence intervals should be drawn.
- max_t
A number indicating the latest event time which is to be plotted.
- iso_reg
A logical variable indicating whether the estimates should be monotonized using isotonic regression. See details.
- force_bounds
A logical variable indicating whether the 0 and 1 bounds of the CIFs should be forced in the plot. See details.
- use_boot
A logical variable denoting whether the bootstrapped estimates should be used for the curves and their confidence intervals. Can only be used if they were calculated. See adjustedcif
.
- color
A logical variable indicating whether the curves should be colored differently. The custom_colors
argument can be used to directly specify which colors to use. Alternatively the single_color
argument can be used if everything should have the same color.
- linetype
A logical variable indicating whether the curves should have different linetypes. The custom_linetypes
argument can be used to directly specify which linetypes to use. Alternatively the single_linetype
argument can be used if all curves should have the same linetype.
- facet
A logical variable indicating whether the curves should be in different facets.
- line_size
A number controlling the thickness of the curves.
- line_alpha
A number controlling the transparency level of the curves.
- xlab
A character string to be used as the X-Axis label of the plot.
- ylab
A character string to be used as the Y-Axis label of the plot.
- title
A character string to be used as the title of the plot. Set to NULL
(default) if no title should be used.
- subtitle
A character string to be used as the subtitle of the plot. Set to NULL
(default) if no subtitle should be used.
- legend.title
A character string to be used as the title of the legend. Set to NULL
if no legend should be included.
- legend.position
A character string specifying the position of the legend. Ignored if legend_title=NULL
.
- gg_theme
A ggplot2
theme object which will be used for the plot.
- ylim
A numeric vector of length two, specifying the limits of the Y-Axis. Set to NULL
to use the ggplot2
default values.
- custom_colors
A (named) vector to specify the colors of each CIF and possibly its confidence region. Set to NULL
to use the ggplot2
default values. Ignored if color=FALSE
.
- custom_linetypes
A (named) vector to specify the linetype of each CIF. Set to NULL
to use the ggplot2
default values. Ignored if linetype=FALSE
.
- single_color
A single color to use for every curve, irrespective of group status. If color
is specified as well this argument will override it, but also generate a warning. Set to NULL
(default) to ignore this argument.
- single_linetype
A single linetype to use for every curve, irrespective of group status. If linetype
is specified as well this argument will override it, but also generate a warning. Set to NULL
(default) to ignore this argument.
- conf_int_alpha
A number indicating the level of transparency that should be used when drawing the confidence regions.
- steps
A logical variable indicating whether the CIFs should be plotted as a step function or using straight lines. Straight lines should not be used with a simple Aalen-Joahnsen estimator. It is recommended to only use straight lines when a sufficiently fine grid of time points was used in the estimation step.
- censoring_ind
What kind of indicator to plot for censored observations on the CIFs. Must be one of "none"
(plotting no indicators at all, the default), "lines"
(plotting small vertical lines) and "points"
(plotting points). Those will be affected by linetype
and color
as well. Observations who failed due to a competing event are not considered as censored here.
- censoring_ind_size
A numeric value specifying the size of the censoring indicators. Ignored if censoring_ind="none"
.
- censoring_ind_alpha
A numeric value specifying the alpha level of the censoring indicators. Ignored if censoring_ind="none"
.
- censoring_ind_shape
A numeric value specifying the shape of the censoring indicators when using censoring_ind="points"
. Ignored otherwise. For available shapes see ?geom_point
.
- censoring_ind_width
A numeric value specifying the width of the censoring indicators. Ignored unless censoring_ind="lines"
. By default (censoring_ind_width=NULL
) the width of the censoring indicators is equal to 5 percent of the plot height.
- ...
Currently not used.