basis_half_circle: Create a basis that gives uniform contribution in a circle

View source: R/0_util.r

basis_half_circleR Documentation

Create a basis that gives uniform contribution in a circle

Description

Orthonormalizes uniform variable contributions on a unit circle. This serves as a NULL basis, one that is variable agnostic while spacing the variables to have minimize variable dependence.

Usage

basis_half_circle(data)

Arguments

data

The data to create a basis for.

See Also

Other basis producing functions: basis_guided(), basis_odp(), basis_olda(), basis_onpp(), basis_pca()

Examples

dat <- scale_sd(wine[, 2:6])
bas <- basis_half_circle(dat)

spinifex documentation built on May 29, 2024, 1:23 a.m.