I have a dataset (called Fevdat) and I have to randomly sample 50 people who are smokers.
There is a column of data in Fevdat called smoke (1= does smoke and 0=does not smoke). How do I create a sample() function randomly selecting 50 people who are smokers??