Usage
## S3 method for class 'multivPenal':
plot(x, event = "both", type.plot = "hazard", conf.bands = FALSE,
pos.legend = "topright", cex.legend = 0.7, ylim, main, color1="red", color2="blue",
colorEnd="green", ...)
Arguments
x
A joint multivariate model, or more generaly an object of class multivPenal
(output from calling multivPenal
function).
event
a character string specifying the type of outcome. Possible value are "terminal", "recurrent", "recurrent2", or "both". The default is "both".
type.plot
a character string specifying the type of curve. Possible value are "hazard", or "survival". The default is "hazard". Only the first words are required, e.g "haz", "su"
conf.bands
logical value. Determines whether confidence intervals will be plotted. The default is to do so.
pos.legend
The location of the legend can be specified by setting this argument to a single keyword from the list '"bottomright"', '"bottom"', '"bottomleft"', '"left"', '"topleft"', '"top"', '"topright"', '"right"' and
'"center"'. The default is '"topright"'
cex.legend
character expansion factor *relative* to current
'par("cex")'. Default is 0.7
color1
curve color for recurrent event of type 1 (integer or color name in quotation marks)
color2
curve color for recurrent event of type 2 (integer or color name in quotation marks)
colorEnd
curve color for terminal event (integer or color name in quotation marks)
...
Other graphical parameters