<series> output = <series>.resamp(<number> Resample Frequency)
This function resamples the calling data series to a new sampling frequency (Resample Frequency), specified in Hertz. This function may report an error to the user if both frequencies are floating-point and a common multiple cannot be found between them. The QR algorithm is used to optimize the least-squares fit.
Example:
var mySeriesB = mySeriesA.resamp(mySeriesA.Fs*2); //doubles the sampling frequency