This function provides the plotting options for the plotEvents() function.

plotEvents.control(
xlab = NULL,
ylab = NULL,
main = NULL,
terminal.name = NULL,
recurrent.name = NULL,
recurrent.type = NULL,
legend.position = "top",
base_size = 12,
cex = NULL,
alpha = 0.7
)

## Arguments

xlab a character string indicating the label for the x axis. The default value is "Time". a character string indicating the label for the y axis. The default value is "Subject". a character string indicating the title of the plot. a character string indicating the label for the terminal event displayed in the legend. The default value is "Terminal event". a character string indicating the label for the recurrent event displayed in the legend. The default value is "Recurrent events". a factor indicating the labels for the different recurrent event types. This option is only available when there are more than one types of recurrent events. The default value is "Recurrent events 1", "Recurrent events 2", .... a character string specifies the position of the legend. The available options are "none", "left", "right", "bottom", "top", or a two-element numeric vector specifies the coordinate of the legend. This argument is passed to the ggplot theme environment. The default value is "top". a numerical value to specify the base font size, given in pts. This argument is passed to the ggplot theme environment. The default value is 12. a numerical value specifies the size of the points. a numerical value specifies the transparency of the points.

## See also

plotEvents