detrend function

Polynomial de-trend transformation