minus.freqs {tdata} | R Documentation |
Get Interval between two frequencies
Description
Use this function to get the number of intervals between two frequencies.
Usage
minus.freqs(freq1, freq2)
Arguments
freq1 |
The first frequency. |
freq2 |
The second frequency. |
Value
The number of intervals between the two frequencies (freq1
- freq2
).
Examples
f1 <- f.yearly(2000)
f2 <- f.yearly(2010)
count <- minus.freqs(f1, f2) # this is -10
count <- minus.freqs(f2, f1) # this is 10
[Package tdata version 0.3.0 Index]