minimumStartupLag {dse2} | R Documentation

## Starting Periods Required

### Description

Number of Starting Periods Required for a Model

### Usage

        minimumStartupLag(model)
        ## S3 method for class 'SS':
        minimumStartupLag(model)
        ## S3 method for class 'ARMA':
        minimumStartupLag(model)
        ## S3 method for class 'TSestModel':
        minimumStartupLag(model)
        startShift(model,data, y0=NULL)

### Arguments

`model` | A TSmodel or object containing a TSmodel.
`data` | A TSdata object.
`y0` | initial condition ...

### Details

For many time series models several starting data points are required before output from the model can be calculated (or makes sense). This generic function extracts or calculates that number of periods.

### Value

An integer.

### Note

There is some redundancy between this and startShift which should be cleaned up.

### See Also

`TSmodel`

[Package Contents]