mysignedcircpairdist.ct: Signed differences in phase (0-24 hrs scale)

View source: R/pwutilityfunctions.R

mysignedcircpairdist.ctR Documentation

Signed differences in phase (0-24 hrs scale)

Description

Computes phase difference between x and y, between -12 and 12. A positive result means that x has earlier phase than y. See example.

Usage

mysignedcircpairdist.ct(x, y)

Arguments

x

Vector, phases between 0 and 24

y

Vector, phases between 0 and 24

Value

Vector of signed phase differences

Examples

mysignedcircpairdist.ct(c(10, 22, 2), c(12, 2, 23))

powestermark/pwrutilities documentation built on Dec. 28, 2024, 4:44 a.m.