[Solved] Set an attribute as Missing
Answers
-
Hi,
if you have certain values that should be defined as missing, you can use the Declare Missing Values operator. If you have more complex rules, you can use Generate Attributes, and generate a missing value if the rule matches. The expression to create a missing value with that operator is 0/0. So you complete expression could be:
if(a1 > 25, 0/0, a1)
That would define all values >25 as missing, and keep the original value otherwise.
Best regards,
Marius1