ddhazard
Plot to illustrate the estimate state space variables from a ddhazard
fit
# S3 method for fahrmeier_94
plot(x, xlab = "Time", ylab = "Hazard",
type = "cov", plot_type = "l", cov_index, ylim, col = "black",
add = F, do_alter_mfcol = T, level = 0.95, ddhazard_boot, ...)
Result of ddhazard
call
Arguments to override defaults set in the function
Type of plot. Currently, only "cov"
is available for plot of the state space parameters
The type
argument passed to plot
The index (indices) of the state space parameter(s) to plot
FALSE
if you want to make a new plot
TRUE
if the function should alter par(mfcol)
in case that cov_index
has more than one element
Level (fraction) for confidence bounds
Object from a ddhazard_boot
call which confidence bounds will be based on and where bootstrap samples will be printed with a transparent color
Arguments passed to plot
or lines
depending on the value of add
Creates a plot of state variables or adds state variables to a plot with indices cov_index
. Pointwise 1.96 std. confidence intervals are provided with the smoothed co-variance matrices from the fit