powered by
Use this function to get the number of intervals between two frequencies.
minus.freqs(freq1, freq2)
The number of intervals between the two frequencies (freq1 - freq2).
freq1
freq2
The first frequency.
The second frequency.
f1 <- f.yearly(2000) f2 <- f.yearly(2010) count <- minus.freqs(f1, f2) # this is -10 count <- minus.freqs(f2, f1) # this is 10
Run the code above in your browser using DataLab