simPH (version 0.8.4)

simGG.simspline: Plot simulated penalised spline hazards from Cox Proportional Hazards Models

Usage

## S3 method for class 'simspline':
simGG(obj, FacetTime = NULL,
    from = NULL, to = NULL, xlab = NULL, ylab = NULL,
    zlab = NULL, title = NULL, smoother = "auto",
    lcolour = "#2B8CBE", lsize = 1, pcolour = "#A6CEE3",
    psize = 1, alpha = 0.1, surface = TRUE, fit = "linear",
    ribbons = FALSE, ...)

Arguments

obj
a simspline class object
FacetTime
a numeric vector of points in time where you would like to plot Hazard Rates in a facet grid. Only relevant if qi == 'Hazard Rate'. Note: the values of Facet Time must exactly match values of the time element of obj
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.
zlab
a label for the plot's z-axis. Only relevant if qi = "Hazard Rate" and FacetTime == NULL.
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.
lcolour
character string colour of the smoothing line. The default is hexadecimal colour lcolour = '#2B8CBE'}. Only relevant if \code{qi = "Relative Hazard"} or code{qi = "First Difference"}.}

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