simPH (version 1.2.3)

simGG.simlinear: Plot simulated linear, non-time interacted quantities of interest from Cox Proportional Hazards Models

Usage

## S3 method for class 'simlinear':
simGG(obj, from = NULL, to = NULL, 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 = "points", ...)

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".
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