🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

adding labels to a polynominal variable

User: "Mori111"
New Altair Community Member
Updated by Jocelyn
I have a polynominal variable, Income, with 4 categories: <25, 25-49, 50-75. 75+. I want to add a label to each category. For example, for <25, I want to add (or replace it with) a label " Low Income". What is the simplest way to add labels to a polynominal variable? 

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "David_A"
    New Altair Community Member

    you can easily rename/replace your categories with other values by using the Replace operator.
    To specify an attribute as label, you can use the Set Role operator and select "label" as target role. Be aware that each example set can only has one attribute marked as "label".

    Best,
    David
    User: "sgenzer"
    Altair Employee
    @Mori111 yes as @David_A said, 'Replace' will work. So will the 'Map' operator. Or you can do it in Turbo Prep. :smile:
    User: "Mori111"
    New Altair Community Member
    OP
    Great Thanks. MAP operator works better because at the same time you can replace all values with labels. I haven't tested Turbo Prep yet.