wind {ridgetorus}R Documentation

Texas wind dataset

Description

Wind direction at 6:00 and 7:00 from June 1, 2003 to June 30, 2003, in radians, measured at a weather station in Texas coded as C28-1.

Usage

wind

Format

A data frame with 30 rows and 2 variables:

theta1

Direction at 6:00 am.

theta2

Direction at 12:00 noon.

Details

The direction is measured in radians in [-\pi, \pi) with -\pi/-\frac{-\pi}{2}/0/-\frac{\pi}{2}/\pi representing the East/South/West/North/East directions.

References

Johnson, R. A. and Wehrly, T. (1977). Measures and models for angular correlation and angular-linear correlation. Journal of the Royal Statistical Society. Series B (Methodological), 39(2):222–229. https://www.jstor.org/stable/2984799

Examples

# Load data
data("wind")
plot(wind, xlab = expression(theta[1]), ylab = expression(theta[2]),
     xlim = c(-pi, pi), ylim = c(-pi, pi), axes = FALSE)
sdetorus::torusAxis()


# Perform TR-PCA
fit <- ridge_pca(x = wind)
show_ridge_pca(fit)

[Package ridgetorus version 1.0.2 Index]