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 derivative of the arctangent function prior to performing the numerical calculation.
diff function in the base package.
PrecisionTester