dynamichazard (version 0.4.0)

plot.fahrmeier_94_SpaceErrors: State space error plot

Description

Plot function for state space errors from ddhazard fit

Usage

# S3 method for fahrmeier_94_SpaceErrors
plot(x, mod, cov_index = NA,
  t_index = NA, p_cex = par()$cex * 0.2, pch = 16,
  ylab = "Std. state space error", x_tick_loc = NA, x_tick_mark = NA,
  xlab = "Time", ...)

Arguments

x

Result of residuals for state space errors

mod

The ddhazard result used in the residuals call

cov_index

The indices of state vector errors to plot. Default is to use all which is likely what you want if the state space errors are standardized

t_index

The bin indices to plot. Default is to use all bins

p_cex

cex argument for the points

pch, ylab, xlab

Arguments to override defaults set in the function

x_tick_loc, x_tick_mark

at and labels arguments passed to axis

...

Arguments passed to plot