Given data defining a Lag-lead window, returns respective plot as a ggplot2 object.

gg_laglead(x, ...)

# S3 method for default

# S3 method for LL_df
x,
high_col = "grey20",
low_col = "whitesmoke",
grid_col = "lightgrey",
...
)

# S3 method for nested_fdf
gg_laglead(x, ...)

## Arguments

x Either a numeric vector of follow-up cut points or a suitable object. Further arguments passed to methods. A vector of exposure times Function that specifies how the lag-lead matrix should be constructed. First argument is the follow up time second argument is the time of exposure. Color used to highlight exposure times within the lag-lead window. Color of exposure times outside the lag-lead window. Color of grid lines.

## Example 1: supply t, tz, ll_fun directly