Usage
## S3 method for class 'simspline':
simGG(obj, SmoothSpline = TRUE, FacetTime = NULL,
from = NULL, to = NULL, xlab = NULL, ylab = NULL, zlab = NULL,
title = NULL, method = "auto", lcolour = "#2B8CBE", lsize = 1,
pcolour = "#A6CEE3", psize = 1, alpha = 0.2, surface = TRUE,
fit = "linear", type = "points", ...)
Arguments
obj
a simspline
class object
SmoothSpline
logical whether or not to fit the simulations with
smoothing splines. Creates a smoother plot. See smooth.spline
for more information. Note: currently the degrees of freedom are set at 10. 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
.
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
.
zlab
a label for the plot's z-axis. Only relevant if
qi = "Hazard Rate"
and FacetTime == NULL
.
title
the plot's main title.
method
what type of smoothing method to use to summarize the center
of the simulation distribution.
lcolour
character string colour of the smoothing line. The default is
hexadecimal colour lcolour = '#2B8CBE'}. Only relevant if
qi = "Relative Hazard"
or qi = "First Difference"
.
- lsize
{size of the smoothing lin