Hi All:
I want to create a new variable that is yes/no based on whether another variable contains a string variable. Thank you in advance!
So for example,
newvar1 aspirin
1 notSpecified
0 .
1 treatmentAsprinLT75
1 treatmentAspirin
1 treatmentAspirinGT200
0
etc.
I want to create a new variable that is yes/no based on whether another variable contains a string variable. Thank you in advance!
So for example,
newvar1 aspirin
1 notSpecified
0 .
1 treatmentAsprinLT75
1 treatmentAspirin
1 treatmentAspirinGT200
0
etc.
Comment