listProduct | R Documentation |
Creates a list of all combinations of the elements of the inputlists (like a "tensor product list " The list elements can be of any class. The function is used in examples and tests to produce all possible combinations of arguments to a function. look at the tests for example usage
listProduct(...)
... |
lists |
a list of lists each containing one combinations of the elements of the input lists
listProduct(list('a','b'),list(1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.