Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

JASP: Convert age in whole years to age groups

Hey, 

I have collected the age in years in my survey and would now like to form age groups for evaluation (in a new variable) - does anyone know how I do this?

Thank you and best regards,

Berenike

Comments

  • Hi Berenike,

    You can do this with a computed column and the ifElse function.

    Note that for the condition (the first argument to ifElse), you must first drag the comparison operator (for example, = or <) and then the variable.

    Hope that helps!

    Don

  • Hi @vandenman ,

    thank you very much for helping me out!

    Best regards,

    Berenike

Sign In or Register to comment.