numeric-slice
  • 27 Jul 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

numeric-slice

  • Dark
    Light
  • PDF

Article summary

numeric-slice

creates: categorical variable

A numeric-slice data function produces a categorical variable. The categorical variable will be assigned based on whether the criterion, a numeric variable, satisfies the operator and value.

attributetypedescriptionoptions
operatorstringa symbol denoting the comparative operation to perform
  • <
  • <=
  • >
  • >=
  • =
  • !=
  • criterionobjectnumeric data to evaluate
  • collection
  • data_function
  • argument_reference
  • value
  • int
  • float
  • numeric data
  • collection
  • data_function
  • argument_reference
  • {
      "data_function_type": "numeric-slice",
      "criterion": ...,
      "operator": ">",
      "value": #
    }
    

    Was this article helpful?

    What's Next