Usage
## S3 method for class 'smoothSurvReg':
plot(x, plot = TRUE, resid = TRUE, knots = TRUE,
compare = TRUE, components = FALSE, standard = TRUE,
by, toler.c = 1e-5,
xlim, ylim,
xlab = expression(epsilon), ylab = expression(paste("f(",epsilon,")", sep = "")),
type = "l", lty = 1, main, sub, bty = "n", ...)Arguments
x
Object of class smoothSurvReg.
plot
If TRUE the plot is directly produced, otherwise only a data.frame
with information used for later plotting is returned.
resid
If resid & plot residuals are added
to the plot in the following way. Residuals based on exact observations
are plotted by pch = 3 (+), residuals based on right censored
observations using pch = 4 (
knots
If knots & plot bullets indicating (transformed)
knots corresponding to 'c' G-spline coefficients higher than toler.c
are added to the x-axis of the plot.
compare
If compare & !components & standard & plot plots of the three
parametric distributions (st. normal, st. logistic and st. minimum extreme value)
are added to the plot for comparison.
components
If components & standard & plot dashed lines with weighted
G-spline components are added to the plot.
standard
If standard data for plotting the fitted error distribution
are created, otherwise data for plotting the distribution
of $\alpha + \sigma\varepsilon$ are created.
In the case that $\log(\sigma)$ depends on covariates
a
by
Step for a ploting grid. If NULL it is automatically computed.
toler.c
Tolerance to indicate zero 'c' G-spline coefficients used if knots == TRUE.
xlim, ylim
Arguments passed to the plot function. xlab, ylab
Arguments passed to the plot function. type, lty
Arguments passed to the plot function. main, sub
Arguments passed to the plot function. bty
Argument passed to the plot function. ...
Arguments passed to the plot function.