distributed_lag_list | R Documentation |
Create distributed lag terms
distributed_lag_list(
x,
n_lag,
lag_max,
df,
degree,
internal_knots,
boundary_knots,
complete_basis,
periodic,
derivs,
integral
)
x |
numeric vector to lag |
n_lag |
number of lag terms |
lag_max |
integer the maximum lag |
df |
Degree of freedom that equals to the column number of the returned
matrix. One can specify |
degree |
A nonnegative integer specifying the degree of the piecewise
polynomial. The default value is |
internal_knots |
location of internal knots |
boundary_knots |
location of boundary knots |
complete_basis |
logical intercept? |
periodic |
A logical value. If |
derivs |
A nonnegative integer specifying the order of derivatives of
splines basis function. The default value is |
integral |
A logical value. If |
List of distributed lags
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.