plot.collindlnmlinear {collin} | R Documentation |
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 class 'collindlnmlinear'
plot(x, lags = NULL, ...)
Arguments
x |
an object of class |
lags |
a number or a numeric vector indicating at what lags the results
will be visualized. Default ( |
... |
other parameters to be passed through to plot function. |
Value
A plot showing a comparison between the results under the fitted model and the results under the hypothetical true effect.
See Also
collindlnm
, plot.collindlnmnonlinear
.
Examples
# For detailed examples:
browseVignettes("collin")
[Package collin version 0.0.4 Index]