NewBinseqWrap: Possible Combinations of Elements, 1 from each list

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/NewBinseqWrap.R

Description

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

Usage

1
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

Details

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

Value

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

Note

The global variable V is used to return the list and thus V should not be used for any other variable name. This may need to be corrected in future versions

Author(s)

William Terry

References

No references

Examples

1
2
3
4
5
## Not run: 

NewBinseqWrap(n=3,PossibleCoefs=c(list(c(0,1,2)),list(c(0,1,2,3)),list(c(4,5,6))))

## End(Not run)

PathSelectMP documentation built on May 2, 2019, 3:15 a.m.