Description Usage Arguments See Also Examples

Improved version of the `embed`

function in the `stats`

package. First it allows
embeddings in past and future observation space (backward
and forward shift). Secondly, it adds 'NA' to the
beginning (or end) of the embedding matrix, depending on
the dimension of the embedding. Optionally, they can be
removed.

1 |

`x` |
a numeric vector, matrix, or time series. |

`max.lag` |
a scalar representing the embedding
dimension in past or future. Note that contrary to
'dimension = 1' in |

`na.omit` |
logical; if TRUE, it removes NA values automatically from embedded matrix. |

1 2 |

LICORS documentation built on May 29, 2017, 1:02 p.m.

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.