Description Usage Arguments Value Author(s) Examples

Tools for creating model/formula terms in time series models

1 2 3 |

`v,x` |
a numeric vector |

`k,lags` |
an integer vector giving lag numbers |

`group` |
a factor or a list of factors defining groups of observations |

`filter` |
a vector specifying a linear filter |

`nfreq` |
number of sine/cosine pairs to include |

`period` |
period |

`intercept` |
should basis matrix include a column of 1s? |

`Lag`

returns a `length(v)`

by `length(k)`

matrix of
lagged variables. `runMean`

returns a numeric vector of length
`length(v)`

. `harmonic`

returns a matrix of sine/cosine
basis functions.

Roger D. Peng

1 2 3 4 5 6 7 8 9 10 11 |

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.