simPH (version 0.8.4)

simGG.simlinear: Plot simulated linear time-constant 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,
    smoother = "auto", spalette = "Set1",
    legend = "legend", leg.name = "", lcolour = "#2B8CBE",
    lsize = 1, pcolour = "#A6CEE3", psize = 1, alpha = 0.1,
    ribbons = FALSE, ...)

Arguments

obj
a simlinear class object.
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.
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".
title
the plot's main title.
smoother
what type of smoothing line to use to summarize the plotted coefficient.
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 deta
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 \code{qi = "First Difference"}.}

item{lsize}{size of the smoothing line. Default is 1. See code{