Description Usage Arguments Value Author(s) Examples
This function calculates the crosscorrelation of the frequency vector by using a sum of gaussians
1 | crosscorrelation(frequencies, type = "correlation", plot = FALSE)
|
frequencies |
The frequences to be processed |
type |
character string giving the type of acf to be computed. Allowed values are "correlation" or "covariance" (correlation by default). |
plot |
If true the acf is plotted (true by default) |
lagMax |
Maximum lag at which to calculate the acf (null by default) |
A vector with the crosscorrelations
Roberto Maestre
1 2 3 4 5 | ## Not run:
# simple call:
crosscorrelation(sin(c(1,2,3,4,5,4,3,2,1)), lagMax = 50, plot=T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.