MakeHypercube {cellmigRation}R Documentation

Make Hypercube

Description

Creates a Molten Hypercube with a user-defined number of dimensions. The values supplied by the user are used to fill each dimension. All possible combination of values are included in the resulting hyper cube.

Usage

MakeHypercube(vals, dims)

Arguments

vals

vector of values used to fill the hyper cube

dims

integer indicating the number of dimensions. The resulting molden data frame will have a number of columns equal to dims

Value

Matrix corresponding to a molten hyper cube. The number of columns is equal to dims; the number of rows is equal to length(vals) ^ dims

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

https://www.data-pulse.com/dev_site/cellmigration/

Examples

cellmigRation:::MakeHypercube(seq(1,3,by=1), 3)


[Package cellmigRation version 1.1.0 Index]