if function with Boolean Operators
if function with Boolean Operators
Hello, I want to recategorize my continuous score into 5 groups. Eg., Age of Respondent. <25, 26-35, 36-45, 46-55 and >=56. How could I combine (if function) with (AND, OR - Boolean Operators)? Thanks.
Re: if function with Boolean Operators
you certainly can. you can use and or or like this:
however, in your case, you don't actually need to use the and/or ... you can simply go:
the if resolves with the first successul match.
cheers
however, in your case, you don't actually need to use the and/or ... you can simply go:
the if resolves with the first successul match.
cheers
Re: if function with Boolean Operators
Okay, I got the point.
Thank you.
Thank you.
Re: if function with Boolean Operators
Thank you for this answer. I'm also making number categories. If we make a bar chart of the categories, they always seem to be in alphabetical order, is there any way to change the order of the categories?
Re: if function with Boolean Operators
hi,
this is an old discussion, you would be better posting a new topic/question.
if you open the variable with the variable editor (details here: http://docs.jamovi.org/_pages/um_4_spreadsheet.html ), you can reorder the levels of the variable. the plots display the "categories" in the order specified for the variable.
jonathon
this is an old discussion, you would be better posting a new topic/question.
if you open the variable with the variable editor (details here: http://docs.jamovi.org/_pages/um_4_spreadsheet.html ), you can reorder the levels of the variable. the plots display the "categories" in the order specified for the variable.
jonathon