Learn R Programming

tectonicr (version 0.4.9)

mean_SC: Mean Cosine and Sine

Description

Mean Cosine and Sine

Usage

mean_SC(x, w = NULL, na.rm = TRUE)

Value

named two element vector

Arguments

x

numeric. Angles in degrees

w

numeric. Weightings

na.rm

logical. Remove NA values before calculation?

Examples

Run this code
if (FALSE) {
set.seed(1)
x <- rvm(100, 0, 5)
mean_SC(x)
}

Run the code above in your browser using DataLab