bind_random function

Bind random bases in the projection bases space

Bind random bases in the projection bases space

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.

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

Returns

a tibble object containing both the searched and random bases

Examples

bind_random(holes_1d_better) %>% tail(5)

See Also

Other bind: bind_random_matrix(), bind_theoretical()

  • Maintainer: H. Sherry Zhang
  • License: MIT + file LICENSE
  • Last published: 2024-06-23