Dear colleagues,
I would like to create a new categorical variable (VarC) that results from logical functions on two continuous variables (varA ant VarB).
If VarA < c1 and VarB < c2, then VarC=1
If VarA >= c1 and VarB < c2, then VarC=2
If VarA < c1 and VarB >= c2, then VarC=3
If VarA >= c1 and VarB >= c2, then VarC=4
Is it possible to do this in Jamovi?
Any advice much appreciated.
Creation of a new variable on the basis of two variables
Re: Creation of a new variable on the basis of two variables
please try transforming and recoding options:
https://blog.jamovi.org/2018/10/23/transforming-variables.html
https://blog.jamovi.org/2018/10/23/transforming-variables.html