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

View source: R/bind.R

bind_random_matrixR Documentation

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, 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

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

Value

matrix

a matrix containing both the searched and random bases

See Also

Other bind: bind_random(), bind_theoretical()

Examples

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

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