Skip to contents

Align phase of a `ts` to another

Usage

shift_phase(x, ref = NULL, phase = NULL)

Arguments

x

A `ts` object to be shifted.

ref

A reference `ts` object (optional).

phase

A numeric phase shift (optional).

Value

A phase-aligned `ts` object with attributes for applied shift.