# completeDFT

From cspec v0.1.2
by Junho Yang

##### Complete DFT

Function to calculate the complete DFT.

##### Usage

`completeDFT(x, freq = 2 * pi * (1:length(x))/length(x), ...)`

##### Arguments

- x
time series vector.

- freq
frequency vector.

- …
Arguments used in the

`predictiveDFT`

function.

##### Details

The default frequencies are 2*pi*(1:n)/n, where n is a length of a time series.

##### Value

Complex valued complete DFT vector.

##### References

S. Das, S. Subba Rao, and J. Yang. *Spectral methods for small sample time series: A complete
periodogram approach*. Submitted, 2020.

##### See Also

##### Examples

```
# NOT RUN {
set.seed(123)
x <- arima.sim(model=list(ar=0.7), n=100)
v <- completeDFT(x)
# }
```

*Documentation reproduced from package cspec, version 0.1.2, License: GPL-2*

### Community examples

Looks like there are no examples yet.