plotDlm: Plots of lag terms

Description Usage Arguments Details Value

Description

Plot estimated lag coefficients and confidence intervals

Usage

1
2
## S3 method for class 'dlMod'
plot(x, geom = c("pointrange", "line"), level = 0.95, scaled = TRUE, ...)

Arguments

x

a fitted model object that inherits from dlMod

level

a desired confidence interval level

scaled

whether or not lag coefficients should be scaled (see estimands)

geom

a ggplot2 graph geometry. See Details

...

additional graphical parameters to be passed to ggplot2::facet_wrap

Details

Plots estimated lag coefficients and confidence intervals to allow convenient visual inspection of effects over different radii. Point estimates and confidence intervals are computed using confint, and plots are rendered using minimal ggplot2 commands so that the resulting graphics objects are largely customizable.

For now, the only supported plot geometries correspond to geom_pointrange and geom_line, and show the estimated functions of Lag radii as either point and interval estimates, or continuous functions with confidence bands, respectively. The default option is geom = "pointrange" for point and interval estimates.

Value

a ggplot2 graphic object


asw221/dlm documentation built on May 8, 2019, 5:59 p.m.