Learn R Programming

ferrn (version 0.3.0)

bind_random_matrix: Bind random bases in the projection bases space as a matrix

Description

Bind random bases in the projection bases space as a matrix

Usage

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

Value

matrix

a matrix containing both the searched and random bases

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

See Also

Other bind: bind_random(), bind_theoretical()

Examples

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

Run the code above in your browser using DataLab