plot_slices {TwoTimeScales} | R Documentation |
Plot slices of the (log-) hazard
Description
plot_slices()
plots slices of the (log-)hazard with two time
scales, at selected values of one of the two time dimensions.
Usage
plot_slices(x, y, direction, plot_options = list())
Arguments
x |
A vector of values for the x-axis. This is a vector of values over the axis opposite to the one where the sliced are cut. |
y |
A matrix of (log-)hazard values. |
direction |
Either |
plot_options |
A list of options for the plot:
|
Value
A plot of the slices of the hazard cut at selected points.