| phase | R Documentation |
This function computes a time series folded on its period.
phase(x, ...)
x |
An object of class 'utilities'. |
... |
Additional arguments for pairing time series:
|
The phase \phi of an observation is computed as
\phi = \frac{t - t_0}{p} - \mathrm{E}(t),
where t_0 is the reference time (by default the first observation),
p = 1/f_1 is the period, and \mathrm{E}(t) is the integer part of
(t - t_0)/p.
An object of class 'utilities' with the slots:
series_phased |
A numeric vector containing the time series values ordered by phase. |
series_esd_phased |
A numeric vector containing the error standard deviations of the time series ordered by phase. |
times_phased |
A numeric vector of phased times (values between 0 and 1, or 0 and 2 if 'two.cycles = TRUE'). |
Elorrieta_2021iAR
data(clcep)
f1=0.060033386
o1=iAR::utilities()
o1<-phase(o1,data=clcep,f1=f1,twop=TRUE)
plot(o1@times_phased,o1@series_phased,pch=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.