diffcumspec(spec1, spec2, f = NULL,
plot = FALSE, type = "l", lty = c(1, 2), col = c(2, 4, 8),
flab = "Frequency (kHz)", alab = "Cumulated amplitude",
flim = NULL, alim = NULL,
title = TRUE, legend = TRUE, ...)spec1
    and spec2 (in Hz). Not necessary if spec1 and/or spec2
    is a two columns matrix obtained with spec
  TRUE plots both cumulative spectra and
    their distance.plot is TRUE, type of plot that should be drawn.
    See plot for details (by default "l" for lines).spec1,
  spec2, and the difference between each of them.spec1 and
    spec2 if type="l".TRUE, adds a title with D and F values.TRUE adds a legend to the plot.plot graphical parameters.kl.dist, ks.dist, simspec,
  diffspec, logspec.dist, itakura.distdata(tico)
tico1 <- spec(tico, at=0.65, plot=FALSE)
tico2 <- spec(tico, at=1.1, plot=FALSE)
diffcumspec(tico1, tico2, plot=TRUE)Run the code above in your browser using DataLab