This function takes the output of the get.combinations function and a numeric matrix with given column names.
It converts all character vectors in innerGroups or partitions to numeric vectors based on the index of the columns.
get.indexation(combinations, data, isInnerExogenous)A list similar to the input combinations, but with all character vectors in innerGroups or partitions converted to numeric vectors based on the index of the columns in the data matrix.
It sums the exogenous indexes with the number of endogenous variables and returns zero-based indexation for C code.
A list returned by the get.combinations function.
A list returned by get.data function.
Use TRUE if outer loop is defined over the endogenous variables and FALSE if it is for exogenous.