cospect: 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