bind_random: Bind random bases in the projection bases space

View source: R/bind.R

bind_randomR Documentation

Bind random bases in the projection bases space

Description

Given the orthonormality constraint, the projection bases live in a high dimensional hollow sphere. Generating random points on the sphere is useful to perceive the data object in the high dimensional space.

Usage

bind_random(dt, n = 500, seed = 1)

Arguments

dt

a data object collected by the projection pursuit guided tour optimisation in the tourr package

n

numeric; the number of random bases to generate in each dimension by geozoo

seed

numeric; a seed for generating reproducible random bases from geozoo

Value

a tibble object containing both the searched and random bases

See Also

Other bind: bind_random_matrix(), bind_theoretical()

Examples

bind_random(holes_1d_better) %>% tail(5)

ferrn documentation built on Aug. 6, 2022, 5:08 p.m.