replace.subspaces: Replace a set of subspaces

Description Usage Arguments Value Author(s) Examples

Description

Resample compatible subspaces to replace a set of subspaces. The new subspaces should not include or be included in another subspace from the original set.

Usage

1
replace.subspaces(dim, subspaces, indexes, allowOverlap = FALSE)

Arguments

dim

Total number of dimensions from which to generate the subspaces.

subspaces

A list of generated subspaces.

indexes

Positions of the subspaces to replace.

allowOverlap

States whether overlap between subspaces are allowed. (might be a bit more complex if TRUE.). Note that full overlap and subset relation are never allowed.

Value

The original set of subspaces, where the places at indexes were modified

Author(s)

Edouard Fouché, edouard.fouche@kit.edu

Examples

1
2
subspaces <- list(c(1,2,3), c(3,4,5), c(7,8), c(11,12), c(15,16))
subspaces <- replace.subspaces(20, subspaces, indexes=c(2,4))

edouardfouche/R-streamgenerator documentation built on May 15, 2019, 11:02 p.m.