Usage
## S3 method for class 'simlinear':
simGG(obj, from = NULL, to = NULL, rug = TRUE,
rug_position = "identity", xlab = NULL, ylab = NULL, title = NULL,
method = "auto", spalette = "Set1", legend = "legend", leg.name = "",
lcolour = "#2B8CBE", lsize = 1, pcolour = "#A6CEE3", psize = 1,
alpha = 0.2, type = "ribbons", ...)
Arguments
obj
a simlinear class object.
from
numeric time to start the plot from. Only relevant if
qi = "Hazard Rate".
to
numeric time to plot to. Only relevant if
qi = "Hazard Rate".
rug
logical indicating whether or not to include a rug plot showing
the distribution of values in the sample used to estimate the coxph
model. Only relevant when the quantity of interest is not
"Hazard Rate".
rug_position
character string. The position adjustment to use for
overlapping points in the rug plot. Use "jitter" to jitter the points.
xlab
a label for the plot's x-axis.
ylab
a label of the plot's y-axis. The default uses the value of
qi.
title
the plot's main title.
method
what type of smoothing method to use to summarize the center
of the simulation distribution.
spalette
colour palette for when there are multiple sets of
comparisons to plot. Default palette is "Set1". See
scale_colour_brewer. legend
specifies what type of legend to include (if applicable).
The default is legend = "legend". To hide the legend use
legend = FALSE. See the discrete_scale for more details. leg.name
name of the legend (if applicable).
lcolour
character string colour of the smoothing line. The default is
hexadecimal colour lcolour = '#2B8CBE'}. Only relevant if
qi = "First Difference".- lsize
{size of the smoothing line. Default is 1. See