cyclicalMean | R Documentation |
Calculate the mean of a set of cyclical values, e.g. calendar months, day of year, angles. The code transform the cycle to cartesian vectors, calculates summed vector, and get the cycle of the sum vector.
cyclicalMean(x, steps = 360)
x |
vector of cyclical values |
steps |
number of steps in the cycle |
collapsed string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.