Total newbie here, I totally apologize if/when at any point I sound like a complete idiot.
I am working in RStudio. I have imported a data file from excel. It has several columns with health information such as age, blood pressure, BMI, and a couple others. I need to remove the entries with 0s in a couple of the columns (you can't have 0 BMI or blood pressure) I also need to remove all of the entries with NAs.
I am stuck on what to do. I have tried the na.omit function, but afterwords I try doing things like mean() median() and it gives me the message "argument is not numeric or logical: returning NA" which makes no sense. I thought the NAs were supposed to be removed.
Please help. I need help cleaning this data.