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
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
ifElsefunction.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