bind_random_matrix function

Bind random bases in the projection bases space as a matrix

Bind random bases in the projection bases space as a matrix

bind_random_matrix(basis, n = 500, d = 1, front = FALSE, seed = 1)

Arguments

  • basis: a matrix returned by get_basis_matrix()
  • n: numeric; the number of random bases to generate in each dimension by geozoo
  • d: numeric; dimension of the basis, d = 1, 2, ...
  • front: logical; if the random bases should be bound before or after the original bases
  • seed: numeric; a seed for generating reproducible random bases from geozoo

Returns

matrix

a matrix containing both the searched and random bases

Examples

data <- get_basis_matrix(holes_1d_geo) bind_random_matrix(data) %>% tail(5)

See Also

Other bind: bind_random(), bind_theoretical()

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