Learn R Programming

collin (version 0.0.4)

plot.collindlnmlinear: Visualizes effects of collinearity in distributed lag model under an hypothetical linear effect pattern.

Description

Visualize the results from a distributed lag model under an hypothetical linear effect pattern provided by the user, generated using the function collindlnm.

Usage

# S3 method for collindlnmlinear
plot(x, lags = NULL, ...)

Value

A plot showing a comparison between the results under the fitted model and the results under the hypothetical true effect.

Arguments

x

an object of class "collindlnmlinear", which is generated by the function collindlnm with shape = "linear".

lags

a number or a numeric vector indicating at what lags the results will be visualized. Default (NULL) shows all lags.

...

other parameters to be passed through to plot function.

See Also

collindlnm, plot.collindlnmnonlinear.

Examples

Run this code
# For detailed examples:
browseVignettes("collin")

Run the code above in your browser using DataLab