Binning/grouping attribute values

frankiefrankie Member Posts: 26 Contributor II
edited November 2018 in Help

while this too might be a simple question I need help. Let's say that I have one numerical attribute that has a range of [0,100]. How do I cut of the "tail" so that all values that are larger than say 70 get the value 70? Can this be done with one operator? If so, which one and how?

Thank you,


  • Options
    haddockhaddock Member Posts: 849 Maven
    if a1 is the attribute's name, like this..
    <operator activated="false" class="generate_attributes" compatibility="5.0.000" expanded="true" height="76" name="Generation" width="90" x="313" y="120">
            <list key="function_descriptions">
              <parameter key="min" value="min(70,a1)"/>

  • Options
    frankiefrankie Member Posts: 26 Contributor II
    Obviously... ::)
    Thank you!
Sign In or Register to comment.