Mar-10-2020, 01:43 PM
(This post was last modified: Mar-10-2020, 02:14 PM by Netherlands_Hi.)
I am looking for the right NPL function to use. Current situation:
My variable "Registration" should have two categories, namely 0 (no) and 1 (yes).
However, the data of this variable is currently distributed among 4 categories; namely:
0 220
1 132
yes 93
si 82
Therefore, I want to use a NPL function in which I can move the data in "yes" and "si" to "1".
In order words, I want to be left with:
0 220
1 307 (as 132+93+82)
Can someone help me? Thanks!
Please delete this thread.
My variable "Registration" should have two categories, namely 0 (no) and 1 (yes).
However, the data of this variable is currently distributed among 4 categories; namely:
0 220
1 132
yes 93
si 82
Therefore, I want to use a NPL function in which I can move the data in "yes" and "si" to "1".
In order words, I want to be left with:
0 220
1 307 (as 132+93+82)
Can someone help me? Thanks!
Please delete this thread.