meshgridn {AtmRay}R Documentation

Multi-Dimensional Meshgrid

Description

Inputs a list of vectors, and returns a list of vectors such that every possible combination of input vector values occurs once in the output.

Usage

meshgridn(L)

Arguments

L

list of vectors

Value

List of vectors of equal length such that each combination of elements drawn from the input vectors occurs exactly once in the output list.

Author(s)

Jake Anderson

Examples

meshgridn(list(1:5, 10:12, 100:104))

[Package AtmRay version 1.31 Index]