Learn R Programming

PathSelectMP (version 1.1)

NewBinseqWrap: Possible Combinations of Elements, 1 from each list

Description

creates a list of lists where each list element has n elements 1 element from each of the first n lists

Usage

NewBinseqWrap(n, PossibleCoefs)

Arguments

n

an integer less than or equal to the number of lists used to choose from which specifies the length of each combination elements from the list choices

PossibleCoefs

a list of lists where one element at a time will be combined with elements of the other list

Value

returns the list of lists for possible combinations of 1 element at a time from each list

Details

this is a helper function and not necessary for the regular user

References

No references

Examples

Run this code
# NOT RUN {
NewBinseqWrap(n=3,PossibleCoefs=c(list(c(0,1,2)),list(c(0,1,2,3)),list(c(4,5,6))))
# }

Run the code above in your browser using DataLab