cospect {tsvr} | R Documentation |
Calculate the cospectrum between all pairs of time series
Description
This function is used to calculate the cospectra between pairs of time series, including each time series with itself. These are based on simple ffts without smoothing.
Usage
cospect(X)
Arguments
X |
a matrix with counts or densities arranged in species by time step. |
Value
cospect
return a list with elements
frequency |
a vector from 0 to 1 of the frequencies used |
cospectrum |
a 3D array, with cospectrum range in species by species by frequency |
Author(s)
Lei Zhao, lei.zhao@cau.edu.cn; Daniel Reuman, reuman@ku.edu
Examples
X<-matrix(runif(200,1,100), 10, 20)
ans<-cospect(X)
[Package tsvr version 1.0.2 Index]