InstantaneousFrequency(asig, tt, method = "arctan", lag = 1)HilbertTransform"arctan" uses the arctangent of the real and imaginary parts of the Hilbert transform, taking the numerical derivative of phase for frequency.
"chain" uses the analytical derivativediff function in the base package.PrecisionTester