Description Usage Arguments Value See Also Examples

View source: R/expandFunctions.R

Convert vector into a matrix of lag columns

1 |

`x` |
Data |

`colParamVector` |
Vector of lags for embedding |

`pad` |
Scalar for padding embedding |

A matrix whose columns are x lagged by the corresponding values in colParamVector.

`embed`

and
`embedd`

, which
are related functions.

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.