phasecalc | R Documentation |
Calculate the phase given the estimated sine and cosine values from a cosinor model.
phasecalc(cosine, sine)
cosine |
estimated cosine value from a cosinor model. |
sine |
estimated sine value from a cosinor model. |
Returns the phase in radians, in the range [0,2π). The phase is the peak in the sinusoid.
phaser |
Estimated phase in radians. |
Adrian Barnett a.barnett@qut.edu.au
Fisher, N.I. (1993) Statistical Analysis of Circular Data. Cambridge University Press, Cambridge. Page 31.
phasecalc(cosine=0, sine=1) # pi/2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.