set-combinations
  • 27 Jul 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

set-combinations

  • Dark
    Light
  • PDF

Article summary

set-combinations

creates: categorical collection


A set-combinations data function converts two-or-more categorical data functions into a new, dynamic collection representing combinations of categorical variables.

attributetypedescriptionoptions
operatorstringhow to combine the criteria and categoricals data
  • all
  • single
  • pairwise
  • criteriaarraycategorical data
  • data_function
  • argument_reference
  • categoricalsarraycategorical data
  • data_function
  • argument_reference
  • {
      "data_function_type": "set-combinations",
      "operator": "all",
      "criteria": [
        ...
      ],
      "categorical": [
        ...
      ]
    }
    


    By default, the operator attribute is set to all. The all operator means that each variable from the collections in the criteria array will be intersected with every categorical variable from all of the collections in the categoricals array. Dynamic variable names from all-vs-all combinations are created.

    If the operator attribute is set to single, each categorical variable from the collections defined in the criteria array will be analyzed independently.

    If the operator attribute is set to pairwise, each categorical variable from the collections defined in the criteria array will be intersected with every categorical variable from each of the other collections in the categoricals array. Dynamic variable names from all pairwise combinations of variables are created.


    Was this article helpful?