Hello friends,
I am new to nested if statement. I will like to see how many people in my data are ELIGIBLE for contraception services and what is the percentage of all my participants. In order for my participants to be ELIGIBLE, they have to be currently active, they can not be pregnant, and they can not be seeking pregnancy. My goal is to have a table in tab 2 that summarizes this info (# eligible and % of total). My idea was to create a new column (eligible) in my dataset with the nested if statements. Then in tab , I will count how many are eligible and generate the percentage. What will be a nice way to do this. I want to impress my supervisor.
Thank you in advance.
Marvin
Bookmarks