Description Usage Arguments Examples

Calculate the cross-spectrum of two timeseries

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
cross_spectrum(x, ...)
## S3 method for class 'mts'
cross_spectrum(x, ...)
## Default S3 method:
cross_spectrum(
x,
y,
k = 10,
samp = 1,
q,
adaptive = FALSE,
verbose = FALSE,
...
)
``` |

`x` |
numeric; timeseries |

`...` |
additional arguments to |

`y` |
numeric; timeseries. if missing, assumed to be column no. 2 in |

`k` |
integer; the number of sine tapers, unless this is |

`samp` |
numeric; the sampling rate (e.g., |

`q` |
numeric; the probability quantile [0,1] to calculate coherence significance levels; if missing, a
pre-specified sequence is included. This is will be ignored for Welch-based spectra (see |

`adaptive` |
logical; should adaptive multitaper estimation be used? |

`verbose` |
logical; should messages be printed? |

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

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.