# msts

From forecast v4.04
by Rob Hyndman

##### Multi-Seasonal Time Series

msts is an S3 class for multi seasonal time series objects, intended to be used for models that support multiple seasonal periods. The msts class inherits from the ts class and has an additional "msts" attribute which contains the vector of seasonal periods. All methods that work on a ts class, should also work on a msts class.

- Keywords
- ts

##### Usage

```
msts(data, seasonal.periods, ts.frequency=floor(max(seasonal.periods)),
... )
```

##### Arguments

- data
- A numeric vector, ts object, matrix or data frame. It is intended that the time series data is univariate, otherwise treated the same as ts().
- seasonal.periods
- A vector of the seasonal periods of the msts.
- ts.frequency
- The seasonal periods that should be used as frequency of the underlying ts object. The default value is
`max(seasonal.periods)`

. - ...
- Arguments to be passed to the underlying call to
`ts()`

. For example`start=c(1987,5)`

.

##### Value

- An object of class
`c("msts", "ts")`

.

##### Examples

```
x <- msts(taylor, seasonal.periods=c(48,336), ts.frequency=48, start=2000+22/52)
y <- msts(USAccDeaths, seasonal.periods=12, ts.frequency=12, start=1949)
```

*Documentation reproduced from package forecast, version 4.04, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.