plot.fahrmeier_94

Plots for ddhazard

Plot to illustrate the estimate state space variables from a ddhazard fit

Usage
"plot"(x, xlab = "Time", ylab = "Hazard", type = "cov", plot_type = "l", cov_index, ylim, col = "black", add = F, do_alter_mfcol = T, ...)
Arguments
x
Result of ddhazard call
xlab, ylab, ylim, col
Arguments to override defaults set in the function
type
Type of plot. Currently, only "cov" is available for plot of the state space parameters
plot_type
The type argument passed to plot
cov_index
The index (indices) of the state space parameter(s) to plot
add
FALSE if you want to make a new plot
do_alter_mfcol
TRUE if the function should alter par(mfcol) in case that cov_index has more than one element
...
Arguments passed to plot or lines depending on the value of add
Details

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

Aliases
  • plot.fahrmeier_94
Documentation reproduced from package dynamichazard, version 0.1.0, License: GPL-2

Community examples

Looks like there are no examples yet.