Description Usage Arguments Details Value Note Author(s)

View source: R/scaleandperiods.R

This function scales the time series data in the interval [0,1] as deemed necessary in Nieto-Barajas and Contreras-Cristan (2014) for the time series clustering algorithm. It also obtains the time periods of the data set provided.

1 |

`data` |
Data frame with the time series information. |

The function considers that the time periods of the data appear as row names.

`periods` |
array with the time periods of the data. |

`mydata` |
data frame with the time series data scaled in [0,1]. |

`cts` |
variable that indicates if some time series were removed because they were constant in time. If no time series were removed, cts = 0. If there were time series removed, cts indicates the column of such time series. |

For internal use.

Martell-Juarez, D.A.

BNPTSclust documentation built on May 30, 2017, 6:09 a.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.