Hi:
Is there a way to assign numerical values (with repeated values) of a variable into a numlist with codes instead of manually do it?
More details on the question:
Qing
Is there a way to assign numerical values (with repeated values) of a variable into a numlist with codes instead of manually do it?
More details on the question:
- The numerical values and the numlist, which will be a input for later steps, are intermediary steps in a loop.
- I could get the length of the numerical values each time if needed, but haven’t figured out how to convert the list of numbers (with repeated values) into a numlist.
- I tried converting the numerical values into a matrix (with one row) and then assigned to a numlist, but it did not work.
Qing
Comment